search for: db_structure_dump

Displaying 5 results from an estimated 5 matches for "db_structure_dump".

2005 Oct 28
3
PostgreSQL. Multiply schemas in one database. How to?
...able names are looking for thought all this schemas. I am wonder, is anybody need it (i mean multiply schemas)? Well, after configuring I tried to run rake test but it is failed with log printed below. How to solve it and make it running?? ** Invoke clone_structure_to_test (first_time) ** Invoke db_structure_dump (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db_structure_dump ** Invoke purge_test_database (first_time) ** Invoke environment ** Execute purge_test_database dropdb: database removal failed: ERROR: database "darkthrone" is being accessed by other user...
2006 Feb 13
8
postgres and rake
...R TO tobyhouse; ERROR: syntax error at or near "OWNER" at character 21 # rpm -q postgresql-server postgresql-server-7.4.8-1.RHEL4.1 My problem is with rake... $ rake clone_structure_to_test --trace (in /home/craig/ruby-db/th-db) ** Invoke clone_structure_to_test (first_time) ** Invoke db_structure_dump (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db_structure_dump ** Invoke purge_test_database (first_time) ** Invoke environment ** Execute purge_test_database ** Execute clone_structure_to_test psql:db/development_structure.sql:28: NOTICE: CREATE TABLE will cre...
2006 May 05
0
Perplexing unit test issue
...ake test_units --trace (in /Users/deirdre/Desktop/datadomain/docmanager) ** Invoke test_units (first_time) ** Invoke prepare_test_database (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute prepare_test_database ** Invoke clone_structure_to_test (first_time) ** Invoke db_structure_dump (first_time) ** Invoke environment ** Execute db_structure_dump rake aborted! You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.+ /Users/deirdre/Desktop/datadomain/docmanager/config/../vendor/rails/ active...
2006 Aug 05
5
error with db:migrate
I''m new to ROR, and am working my way through the Agile Web Development Book. In the test application, the authors tell me to test my database connection by performing "rake db:migrate". When I do, I get the error "Don''t know how to build task ''db:migrate''" I''ve been looking around at the files, and I see a reference to a
2006 Feb 11
3
Intial data in Migrations
One thing I found annoying about Migrations, besides that you have a very limited ways to define your data, is that it will overwrite EVERYTHING in your schema file. So if you spend hours customizing your initial schema file, to get it work, exactly like you''ll need it, that work immediately becomes for nothing once you run a migration. Your entire schema will get rewritten, not appended