Jeremy Kemper
|
419226fe11
|
PostgreSQL: db:test:purge closes open database connections first. Closes #6236.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-09 06:34:57 +00:00 |
|
Jeremy Kemper
|
e34de4dc24
|
Firebird database tasks.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4597 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-07-09 00:36:49 +00:00 |
|
Jeremy Kemper
|
3398f74db1
|
db:test:clone should remove existing tables before reloading the schema. Closes #5607.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4557 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-07-05 18:35:06 +00:00 |
|
Jeremy Kemper
|
ce458a74a5
|
Don't assume Active Record is available. Closes #5497.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-28 23:51:50 +00:00 |
|
Jeremy Kemper
|
3de8239a7c
|
Session migration generator obeys pluralize_table_names. Closes #5145.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-22 21:09:47 +00:00 |
|
Marcel Molina
|
738c43c549
|
Add modifications to database rake tasks as part of #5139. [schoenm@earthlink.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-05-21 20:17:22 +00:00 |
|
David Heinemeier Hansson
|
3d99d33a64
|
Fixed that rake clone_structure_to_test should quit on pgsql if the dump is unsuccesful (closes #4585) [augustz@augustz.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-05 03:15:50 +00:00 |
|
David Heinemeier Hansson
|
31199a9e4a
|
Update description
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-28 01:11:09 +00:00 |
|
Michael Koziarski
|
66f546644b
|
Allow load_fixtures to load a subset of total fixture data. [Chad Fowler]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-28 00:59:55 +00:00 |
|
David Heinemeier Hansson
|
f340df798e
|
Clearing doesnt need migrations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-20 05:49:19 +00:00 |
|
Rick Olson
|
30c42b21b3
|
Replaced old session rake tasks with db:sessions:create to generate a migration, and db:sessions:clear to remove sessions. [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-20 05:45:22 +00:00 |
|
Jamis Buck
|
b8134000c4
|
Silence the migration messages when importing the schema for tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-05 20:11:08 +00:00 |
|
David Heinemeier Hansson
|
abe5b1573e
|
Load, not dump, schema to test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-27 06:03:50 +00:00 |
|
David Heinemeier Hansson
|
985cb44110
|
Added namespaces to all tasks, so for example load_fixtures is now db:fixtures:load. All the old task names are still valid, they just point to the new namespaced names. "rake -T" will only show the namespaced ones, though [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-27 04:38:39 +00:00 |
|
Marcel Molina
|
16e41c6b75
|
Ignore version mismatch between pg_dump and the database server. Closes #3457.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-13 01:29:28 +00:00 |
|
Marcel Molina
|
56234bee14
|
Honor ActiveRecord::Base.pluralize_table_names when creating and destroying session store table. Closes #3204.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-18 20:20:49 +00:00 |
|
Marcel Molina
|
191dfe8c6d
|
Make load_fixtures include csv fixtures. Closes #3053.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-28 23:34:09 +00:00 |
|
Marcel Molina
|
7355d9f1bd
|
Make the db_schema_dump task honor the SCHEMA environment variable if present the way db_schema_import does. Closes #2931.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-21 08:01:41 +00:00 |
|
Jeremy Kemper
|
dfa8aa0e1e
|
PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify the template0 template when creating a fresh test database. Closes #2964.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-20 12:00:46 +00:00 |
|
Jeremy Kemper
|
d685e2cf18
|
SQLite: the clone_structure_to_test and purge_test_database Rake tasks should always use the test environment. Reference #2846.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-13 02:50:42 +00:00 |
|
Jeremy Kemper
|
91853b8a0d
|
SQLite: the clone_structure_to_test Rake task should always use the test environment. References #2846.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-13 01:12:48 +00:00 |
|
David Heinemeier Hansson
|
8e9484d3c1
|
Make sure that legacy db tasks also reference :database for SQLite (closes #2830) [kazuhiko@fdiary.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-11 09:50:42 +00:00 |
|
Jeremy Kemper
|
f457ef46cf
|
If specified, pass PostgreSQL client character encoding to createdb. Closes #2703.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-02 03:30:15 +00:00 |
|
David Heinemeier Hansson
|
c21fdf31a5
|
Changed :dbfile to :database for SQLite adapter for consistency (old key still works as an alias) (closes #2644) [Dan Peterson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-30 08:10:04 +00:00 |
|
Jeremy Kemper
|
39ada91f80
|
The PostgreSQL :db_structure_dump task limits its dump to the schema search path in database.yml.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 17:07:49 +00:00 |
|
David Heinemeier Hansson
|
94a05920e1
|
Only dump schema if schema_format is :ruby
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-14 16:10:02 +00:00 |
|
Sam Stephenson
|
24c3599cc0
|
Support using different database adapters for development and test with ActiveRecord::Base.schema_format = :ruby
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-13 04:12:32 +00:00 |
|
David Heinemeier Hansson
|
6823f57b27
|
Use the correct scope for Rake tasks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-12 01:07:57 +00:00 |
|
David Heinemeier Hansson
|
6fe5f65d87
|
Migrating should also dump the latest schema
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-12 00:02:11 +00:00 |
|
Jamis Buck
|
119855c438
|
Add db_schema_dump and db_schema_import rake tasks to work with the new ActiveRecord::SchemaDumper (for dumping a schema to and reading a schema from a ruby file).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-23 13:45:32 +00:00 |
|
David Heinemeier Hansson
|
691f95e448
|
Use session_id instead of deprecated sessid
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-12 17:36:43 +00:00 |
|
David Heinemeier Hansson
|
c259ed9e02
|
Use session_id instead of deprecated sessid
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-12 17:35:17 +00:00 |
|
David Heinemeier Hansson
|
0d97f055c2
|
Sessions with an s
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-12 17:32:36 +00:00 |
|
David Heinemeier Hansson
|
d25fe84a01
|
Added create_session_table, drop_session_table, and purge_session_table as rake tasks for databases that supports migrations (MySQL, PostgreSQL, SQLite) to get a table for use with CGI::Session::ActiveRecordStore. Added configuration of session options through config.session_options in Rails::Configuration
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-12 17:30:40 +00:00 |
|
David Heinemeier Hansson
|
a16528f715
|
Added dump of schema version to the db_structure_dump task for databases that support migrations #1835 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-12 05:33:18 +00:00 |
|
David Heinemeier Hansson
|
e234115b63
|
Fixed clone_structure_to_test task for SQLite #1864 [jon@burningbush.us]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-11 09:16:48 +00:00 |
|
David Heinemeier Hansson
|
a4994d077f
|
Fix the spot looking for migrations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-03 16:24:36 +00:00 |
|
David Heinemeier Hansson
|
6c3be611d4
|
Fix the spot looking for migrations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-03 16:22:28 +00:00 |
|
David Heinemeier Hansson
|
bc011df210
|
Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is empty and doesn't require updating. Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-03 15:13:06 +00:00 |
|