demarches-normaliennes/Rakefile
Pierre de La Morinerie 21bf4d38cf db: alphabetize schema.rb
This avoids the column order being de-synchronized between different
machines.
2022-03-16 10:30:25 +01:00

10 lines
333 B
Ruby

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('config/application', __dir__)
Rails.application.load_tasks
# Alphabetize schema.rb
task 'db:schema:dump': 'strong_migrations:alphabetize_columns'