15 lines
306 B
Ruby
15 lines
306 B
Ruby
class CreateWowCovenants < ActiveRecord::Migration[6.1]
|
|
def change
|
|
create_table :wow_covenants do |t|
|
|
t.integer :covenant_id
|
|
t.jsonb :name
|
|
t.jsonb :description
|
|
t.integer :media_id
|
|
|
|
t.timestamps
|
|
end
|
|
|
|
add_index :wow_covenants, :covenant_id, unique: true
|
|
end
|
|
end
|