fix merge revert
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class RemoveDefaultChipFromHomies < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
remove_reference :homies, :chip
|
||||
end
|
||||
end
|
||||
13
db/migrate/20200918032033_create_ogs.rb
Normal file
13
db/migrate/20200918032033_create_ogs.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class CreateOgs < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :ogs do |t|
|
||||
t.text :chip_name
|
||||
t.text :chip_code
|
||||
t.text :chip_symbol
|
||||
t.boolean :chip_prefixed
|
||||
t.integer :chip_scale
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
5
db/migrate/20201006103218_remove_ogs.rb
Normal file
5
db/migrate/20201006103218_remove_ogs.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class RemoveOgs < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
drop_table :ogs
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddDefaultChipRefToHomies < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_reference :homies, :chip
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user