Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #11301 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

[PATCH]fixed rake db:create, rake db:migrate:reset and rake db:drop

Reported by: matt Assigned to: core
Priority: normal Milestone: 2.x
Component: Railties Version: edge
Severity: normal Keywords: rake, task, verified
Cc:

Description

rake db:create was ignoring passed charset and collation arguments. rake db:drop was crashing when trying to delete a db that was already dropped rake db:migrate:reset was failing when the db was already dropped

Attachments

fixed_rake_db_create_drop_tasks.diff (1.6 kB) - added by matt on 03/09/08 18:29:29.
fixed_rake_db_create_drop_tasks.2.diff (1.6 kB) - added by matt on 03/09/08 18:40:21.
(same as previous patch but with better error handling when the connection can't be dropped)

Change History

03/08/08 03:39:22 changed by matt

  • keywords set to rake, task.
  • summary changed from fixed rake db:create, rake db:migrate:reset and rake db:drop to [PATCH]fixed rake db:create, rake db:migrate:reset and rake db:drop.

03/08/08 15:15:59 changed by evolving_jerk

+1

03/09/08 18:29:29 changed by matt

  • attachment fixed_rake_db_create_drop_tasks.diff added.

03/09/08 18:40:21 changed by matt

  • attachment fixed_rake_db_create_drop_tasks.2.diff added.

(same as previous patch but with better error handling when the connection can't be dropped)

03/09/08 18:42:13 changed by mislav

+1

03/09/08 19:07:00 changed by neshmi

+1

03/09/08 19:07:53 changed by matt

  • keywords changed from rake, task to rake, task, verified.

03/10/08 11:42:04 changed by pratik

  • status changed from new to closed.
  • resolution set to fixed.

(In [9004]) Fix database rake tasks to work with charset/collation and show proper error messages on failure. Closes #11301 [matt]