mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 19:05:18 +08:00
270fde7dbd
move category creation into seeds as well, so db can be seeded from structure.sql
9 lines
174 B
Ruby
9 lines
174 B
Ruby
# we need to run seed_fu every time we run rake db:migrate
|
|
task 'db:migrate' => 'environment' do
|
|
SeedFu.seed
|
|
end
|
|
|
|
task 'test:prepare' => 'environment' do
|
|
SeedFu.seed
|
|
end
|