Make granblue_id a string

Character IDs are out of range for integer
This commit is contained in:
Justin Edmund 2020-10-19 04:01:15 -07:00
parent 55537d995e
commit 1e8e311286
3 changed files with 23 additions and 23 deletions

View file

@ -3,7 +3,7 @@ class CreateWeapons < ActiveRecord::Migration[6.0]
create_table :weapons, id: :uuid, default: -> { "gen_random_uuid()" } do |t|
t.string :name_en
t.string :name_jp
t.integer :granblue_id
t.string :granblue_id
t.integer :rarity
t.integer :element

View file

@ -3,7 +3,7 @@ class CreateSummons < ActiveRecord::Migration[6.0]
create_table :summons, id: :uuid, default: -> { "gen_random_uuid()" } do |t|
t.string :name_en
t.string :name_jp
t.integer :granblue_id
t.string :granblue_id
t.integer :rarity
t.integer :element

View file

@ -3,7 +3,7 @@ class CreateCharacters < ActiveRecord::Migration[6.0]
create_table :characters, id: :uuid, default: -> { "gen_random_uuid()" } do |t|
t.string :name_en
t.string :name_jp
t.integer :granblue_id
t.string :granblue_id
t.integer :rarity
t.integer :element