Update migration

Now this adds raw data columns to weapons, summons, and characters
This commit is contained in:
Justin Edmund 2025-03-02 16:08:35 -08:00
parent 2b8dfe9e20
commit c060a4525b
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,15 @@
class AddRawDataColumns < ActiveRecord::Migration[8.0]
def change
add_column :characters, :wiki_raw, :text
add_column :characters, :game_raw_en, :text
add_column :characters, :game_raw_jp, :text
add_column :summons, :wiki_raw, :text
add_column :summons, :game_raw_en, :text
add_column :summons, :game_raw_jp, :text
add_column :weapons, :wiki_raw, :text
add_column :weapons, :game_raw_en, :text
add_column :weapons, :game_raw_jp, :text
end
end

View file

@ -0,0 +1,7 @@
class AddWikiRawToCharacters < ActiveRecord::Migration[8.0]
def change
add_column :characters, :wiki_raw, :text
add_column :characters, :game_raw_en, :text
add_column :characters, :game_raw_jp, :text
end
end