mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 05:34:55 +08:00
Fix pending migration check in db/seeds.rb [SCI-12078]
This commit is contained in:
parent
702c882c51
commit
d36b22b1b4
1 changed files with 1 additions and 3 deletions
|
@ -1,8 +1,6 @@
|
|||
include UsersGenerator
|
||||
|
||||
if ActiveRecord::Base.connection.migration_context.needs_migration?
|
||||
raise "There are pending migrations. Run 'rails db:migrate' first."
|
||||
end
|
||||
ActiveRecord::Migration.check_all_pending!
|
||||
|
||||
MyModuleStatusFlow.ensure_default
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue