mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Correct database commands
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class OldMigrationsRemoved < ActiveRecord::Migration
|
||||
def up
|
||||
raise StandardError, <<-MESSAGE
|
||||
|
||||
You haven't updated your dev environment in a long time!
|
||||
Legacy migration files before 2019 have now been removed.
|
||||
Run `rails db:schema:load` before running `rails db:migrate`.
|
||||
Run `rake db:schema:load` before running `rake db:migrate`.
|
||||
|
||||
MESSAGE
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user