I have a local project with rails and postgres. I threw it on AMIS AMASON Linux. I ran test projects with rails and postgres on the server. However, when I loaded my local project and tried to run
rake db:migrate
I get the following error:
ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
I saw some similar problems, but none of them help. I have the correct role setting and connection.
, rake db:migrate RAILS_ENV . ( ), config/database.yml , , . ALL public.schema_migrations. , , , public.
RAILS_ENV
ALL
public.schema_migrations
public
postgres . Postgres .
: , rake db:schema:load rake db:migrate. , !
db:schema:load
db:migrate
Source: https://habr.com/ru/post/1599340/More articles:столбцы имен после использования агрегатной функции - rWhat is the difference between iter (x) and x .__ iter __ ()? - pythonWeb API 2 POST-Request does not work on mono - c #Mono mod asp server web api post method not working - c #Tinymce download buttons according to users choice - javascriptIs there a way to guess the size of data.frame based on rows, columns and variable types? - memoryTinyMce set editor button text color - javascriptGoogle Analytics SDK v4 Campaign Tracking No data emailing - androidNo up arrow on toolbar 4.1 - androidHow to create a material interface component in Om Clojurescript? - omAll Articles