0
當我部署一個應用程序的Heroku,我運行遷移腳本,並得到該錯誤消息的Heroku拋出SQLITE3只讀例外
...ites\padrino\prophetmargin> heroku rake ar:migrate
rake aborted!
SQLite3::ReadOnlyException: attempt to write a readonly database: CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
/disk1/home/slugs/215264_925fd2c_65a3/mnt/.bundle/gems/gems/padrino-core-0.9.11/lib/padrino-core/cli/rake.rb:9:in `init'
這怎麼可能?我也嘗試運行heroku dbpush sqlite://db/my-db.db,但也沒有工作。