I was doing some testing on my app locally and ran into a database deadlock situation. After some googling on what do do about it i decided since it was just dev i'd blow away the database and recreate it.
Only this won't work. I've recreated the database a few times and I've never had any problems.
I can run a db:drop ok and db:create works but when I run db:migrate it just hangs.
I've restarted incase a process had some sort of lock on the db but no change.
No errors and when I do --trace I'm none the wiser.
Any help would be appreciated, even where to start to debug the problem
This is what I have for the database config...
development: adapter: sqlite3 database: db/dev.sqlite3 pool: 5 timeout: 5000
test: adapter: sqlite3 database: db/test.sqlite3 pool: 5 timeout: 5000
Thanks
putsin the first migration to see if it even gets there?environment.rbfile, theapplication.rbfile or an initializer.