Merge pull request #65 from jedmund/add-migration
Add missing migration
This commit is contained in:
commit
05ea4a41f3
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue