Skip to main content
yudionrails.com/...-rails-new-database-rake-tasks - Cached
This link has been bookmarked by 6 people . It was first bookmarked on 23 Feb 2008, by A. D..
新的 rake task 让您不必再通过恼人的mysql命令行来建立数据库,它是 rake db:create。不再使用当前的数据库了吗?试试 rake db:drop。如果想推倒现在的数据库并建立一个新的,并实行migration等一系列任务的话,rake db:reset 则是您唯一需要的万能扳手。
rails2
Join Diigo for a free account, or sign in if you are already a member.
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.