mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
270fde7dbd
move category creation into seeds as well, so db can be seeded from structure.sql
8 lines
174 B
Ruby
8 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
|