hensei-api/db/migrate/20230311073807_create_character_charge_attacks.rb
Justin Edmund c8eb9187d6 Add migrations for character skills
Adds new tables for:
* Character skills
* Character charge attacks
* Character support skills
* Ability effects

Also adds flags on GridCharacter for whether an ability is enabled or disabled in full auto
2023-03-11 01:19:26 -08:00

18 lines
552 B
Ruby

class CreateCharacterChargeAttacks < ActiveRecord::Migration[7.0]
def change
create_table :character_charge_attacks, id: :uuid, default: -> { "gen_random_uuid()" } do |t|
t.references :character, type: :uuid
t.string :name_en, unique: true, null: false
t.string :name_jp, unique: true, null: false
t.string :description_en, unique: true, null: false
t.string :description_jp, unique: true, null: false
t.integer :order, null: false
t.string :form
t.uuid :effects, array: true
end
end
end