add covenant

This commit is contained in:
2021-05-30 17:49:54 +02:00
parent d0e5824d40
commit 5b3da08707
29 changed files with 157 additions and 9 deletions

View File

@@ -0,0 +1,14 @@
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