开发者

Database is locked

开发者 https://www.devze.com 2023-01-10 17:00 出处:网络
hey my problem is when i try to update my database it goes throu开发者_开发知识库gh the update query fine but then it crashes giving me a error in the console saying \"Error while updating \'Database

hey my problem is when i try to update my database it goes throu开发者_开发知识库gh the update query fine but then it crashes giving me a error in the console saying "Error while updating 'Database is locked'". Does any one have a clue why is it so?


Usually because your database is in another transaction. For example, if you have another thread going or another connection and it is in a transaction.


closing the rails console session resolved this issue for me.

0

精彩评论

暂无评论...
验证码 换一张
取 消