mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
for now, run seed fu automatically after migrate ... still think there should be a cleaner way
This commit is contained in:
parent
0c6cb2805a
commit
3d3b589b4d
2 changed files with 4 additions and 1 deletions
|
@ -47,4 +47,3 @@ PostActionType.seed do |s|
|
|||
s.is_flag = true
|
||||
s.position = 7
|
||||
end
|
||||
|
||||
|
|
4
lib/tasks/db.rake
Normal file
4
lib/tasks/db.rake
Normal file
|
@ -0,0 +1,4 @@
|
|||
# we need to run seed_fu every time we run rake db:migrate
|
||||
task 'db:migrate' => 'environment' do
|
||||
SeedFu.seed
|
||||
end
|
Loading…
Reference in a new issue