Merge pull request #65 from jedmund/add-migration

Add missing migration
This commit is contained in:
Justin Edmund 2023-01-30 03:45:57 -08:00 committed by GitHub
commit 05ea4a41f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,6 @@
class AddAccessoryAndTypeToJobs < ActiveRecord::Migration[7.0]
def change
add_column :jobs, :accessory, :boolean, default: false
add_column :jobs, :accessory_type, :integer, default: 0
end
end

View file

@ -221,9 +221,9 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_28_091710) do
t.integer "chain_count"
t.integer "turn_count"
t.uuid "source_party_id"
t.uuid "accessory_id"
t.integer "characters_count"
t.integer "summons_count"
t.uuid "accessory_id"
t.index ["accessory_id"], name: "index_parties_on_accessory_id"
t.index ["job_id"], name: "index_parties_on_job_id"
t.index ["skill0_id"], name: "index_parties_on_skill0_id"