Add group to raids

This is so that we can group them easier on the front end instead of receiving a long list
This commit is contained in:
Justin Edmund 2022-02-23 19:04:12 -08:00
parent ace4fb8568
commit 3cb18aa8ef
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddGroupToRaids < ActiveRecord::Migration[6.1]
def change
add_column :raids, :group, :integer
end
end

View file

@ -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|