12th
Mon
データベースを作成するRakeタスク
地味に欲しかった機能がいつの間にか実装されていた。
takiuchi% rake -T db:create [~/test]
(in /home/taki uchi/test)
rake db:create # Create the local database defined in config/dat abase.yml for the current RAILS_ENV
rake db:create: all # Create all the local databases defined in config/dat abase.yml
これで rake db:create:
と打てばdatabase.y
posted by
genki
on Mon 12 Nov 2007
at 15:56