diff --git a/db/migrate/20251219055153_add_game_skill_id_to_artifact_skills.rb b/db/migrate/20251219055153_add_game_skill_id_to_artifact_skills.rb new file mode 100644 index 0000000..f290325 --- /dev/null +++ b/db/migrate/20251219055153_add_game_skill_id_to_artifact_skills.rb @@ -0,0 +1,6 @@ +class AddGameSkillIdToArtifactSkills < ActiveRecord::Migration[8.0] + def change + add_column :artifact_skills, :game_skill_id, :integer + add_index :artifact_skills, :game_skill_id, unique: true + end +end diff --git a/db/migrate/20251219062316_remove_game_skill_id_from_artifact_skills.rb b/db/migrate/20251219062316_remove_game_skill_id_from_artifact_skills.rb new file mode 100644 index 0000000..ea6b342 --- /dev/null +++ b/db/migrate/20251219062316_remove_game_skill_id_from_artifact_skills.rb @@ -0,0 +1,6 @@ +class RemoveGameSkillIdFromArtifactSkills < ActiveRecord::Migration[8.0] + def change + remove_index :artifact_skills, :game_skill_id + remove_column :artifact_skills, :game_skill_id, :integer + end +end diff --git a/db/schema.rb b/db/schema.rb index 45e0ef2..b59ea41 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[8.0].define(version: 2025_12_17_195837) do +ActiveRecord::Schema[8.0].define(version: 2025_12_19_062316) do # These are extensions that must be enabled in order to support this database enable_extension "btree_gin" enable_extension "pg_catalog.plpgsql" @@ -500,6 +500,8 @@ ActiveRecord::Schema[8.0].define(version: 2025_12_17_195837) do t.datetime "created_at", null: false t.datetime "updated_at", null: false t.uuid "phantom_player_id" + t.boolean "excused", default: false, null: false + t.text "excuse_reason" t.index ["crew_gw_participation_id", "crew_membership_id", "round"], name: "idx_gw_individual_scores_unique", unique: true t.index ["crew_gw_participation_id"], name: "index_gw_individual_scores_on_crew_gw_participation_id" t.index ["crew_membership_id"], name: "index_gw_individual_scores_on_crew_membership_id" @@ -549,6 +551,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_12_17_195837) do t.boolean "accessory", default: false t.integer "accessory_type", default: 0 t.boolean "ultimate_mastery", default: false, null: false + t.boolean "aux_weapon", default: false t.index ["base_job_id"], name: "index_jobs_on_base_job_id" end