-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
As the title says, I receive the following in the error log whenever I attempt to run db:migrate:
ActiveRecord::StatementInvalid: SQLite3::ReadOnlyException: attempt to write a readonly database My database.yml is setup as follows:
default: &default
adapter: sqlite3
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
development:
reader:
<<: *default
readonly: true
database: storage/development.sqlite3
writer:
<<: *default
pool: 1
database: storage/development.sqlite3The test and production databases are setup accordingly but have been left out for brevity. I was largely following the guide found here. Thanks in advance :-)
Metadata
Metadata
Assignees
Labels
No labels