diff --git a/db/migrate/20220224024415_add_group_to_raids.rb b/db/migrate/20220224024415_add_group_to_raids.rb new file mode 100644 index 0000000..b256a6b --- /dev/null +++ b/db/migrate/20220224024415_add_group_to_raids.rb @@ -0,0 +1,5 @@ +class AddGroupToRaids < ActiveRecord::Migration[6.1] + def change + add_column :raids, :group, :integer + end +end diff --git a/db/schema.rb b/db/schema.rb index 6b52864..dff7168 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.define(version: 2022_02_24_015505) do +ActiveRecord::Schema.define(version: 2022_02_24_024415) do # These are extensions that must be enabled in order to support this database enable_extension "pgcrypto" @@ -139,6 +139,7 @@ ActiveRecord::Schema.define(version: 2022_02_24_015505) do t.string "name_en" t.string "name_jp" t.integer "level" + t.integer "group" end create_table "summons", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|