Make sure columns in the schema file stay alphabetized after bin/setup (#13410)
This commit is contained in:
parent
db7abbdf7b
commit
456fecc043
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ namespace :app_initializer do
|
|||
|
||||
puts "\n== Preparing database =="
|
||||
system("bin/rails db:prepare") || exit!(1)
|
||||
Rake::Task["db:migrate"].execute # it'll re-alphabetize the columns in `schema.rb`
|
||||
|
||||
puts "\n== Updating Data =="
|
||||
Rake::Task["data_updates:enqueue_data_update_worker"].execute
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue