initial rebuild from v1
This commit is contained in:
15
db/migrate/20210422193149_create_wow_character_titles.rb
Normal file
15
db/migrate/20210422193149_create_wow_character_titles.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
class CreateWowCharacterTitles < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table :wow_character_titles do |t|
|
||||
t.jsonb :name
|
||||
t.string :href
|
||||
t.jsonb :male_name
|
||||
t.jsonb :female_name
|
||||
t.integer :title_id, null: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :wow_character_titles, :title_id, unique: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user