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:
parent
ace4fb8568
commit
3cb18aa8ef
2 changed files with 7 additions and 1 deletions
5
db/migrate/20220224024415_add_group_to_raids.rb
Normal file
5
db/migrate/20220224024415_add_group_to_raids.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
class AddGroupToRaids < ActiveRecord::Migration[6.1]
|
||||||
|
def change
|
||||||
|
add_column :raids, :group, :integer
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# 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
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "pgcrypto"
|
enable_extension "pgcrypto"
|
||||||
|
|
@ -139,6 +139,7 @@ ActiveRecord::Schema.define(version: 2022_02_24_015505) do
|
||||||
t.string "name_en"
|
t.string "name_en"
|
||||||
t.string "name_jp"
|
t.string "name_jp"
|
||||||
t.integer "level"
|
t.integer "level"
|
||||||
|
t.integer "group"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "summons", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
create_table "summons", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue