Add nicknames fields to objects
This commit is contained in:
parent
22a4bc9c86
commit
2455c06f99
3 changed files with 18 additions and 0 deletions
6
db/migrate/20230315113009_add_nicknames_to_characters.rb
Normal file
6
db/migrate/20230315113009_add_nicknames_to_characters.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class AddNicknamesToCharacters < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :characters, :nicknames_en, :string, array: true, default: [], null: false
|
||||
add_column :characters, :nicknames_jp, :string, array: true, default: [], null: false
|
||||
end
|
||||
end
|
||||
6
db/migrate/20230315113015_add_nicknames_to_summons.rb
Normal file
6
db/migrate/20230315113015_add_nicknames_to_summons.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class AddNicknamesToSummons < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :summons, :nicknames_en, :string, array: true, default: [], null: false
|
||||
add_column :summons, :nicknames_jp, :string, array: true, default: [], null: false
|
||||
end
|
||||
end
|
||||
6
db/migrate/20230315113023_add_nicknames_to_weapons.rb
Normal file
6
db/migrate/20230315113023_add_nicknames_to_weapons.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class AddNicknamesToWeapons < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :weapons, :nicknames_en, :string, array: true, default: [], null: false
|
||||
add_column :weapons, :nicknames_jp, :string, array: true, default: [], null: false
|
||||
end
|
||||
end
|
||||
Loading…
Reference in a new issue