mirror of
https://github.com/internetee/registry.git
synced 2025-05-30 01:20:04 +02:00
skip alpha migration
This commit is contained in:
parent
64152479a9
commit
e28e623487
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ class AddMissingData < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
return if Rails.env == 'development'
|
return if Rails.env == 'development'
|
||||||
return if Rails.env == 'test'
|
return if Rails.env == 'test'
|
||||||
|
return if Rails.env == 'alpha'
|
||||||
|
|
||||||
puts 'GENERATING ACCOUNTS'
|
puts 'GENERATING ACCOUNTS'
|
||||||
Registrar.all.each do |x|
|
Registrar.all.each do |x|
|
||||||
Account.create(
|
Account.create(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue