initial rebuild from v1

This commit is contained in:
2021-04-22 22:31:23 +02:00
commit cc8cf4954d
152 changed files with 11559 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
class CreateWowRaces < ActiveRecord::Migration[6.1]
def change
create_table :wow_races do |t|
t.jsonb :name
t.string :href
t.string :faction
t.jsonb :translated_faction
t.boolean :is_selectable
t.boolean :is_allied_race
t.jsonb :male_name
t.jsonb :female_name
t.integer :race_id, null: false
t.timestamps
end
add_index :wow_races, :race_id, unique: true
end
end