Update schema.rb
This commit is contained in:
parent
0b167863eb
commit
bbe7254512
1 changed files with 34 additions and 1 deletions
35
db/schema.rb
35
db/schema.rb
|
|
@ -10,12 +10,25 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2020_09_23_205642) do
|
||||
ActiveRecord::Schema.define(version: 2020_10_17_013949) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pgcrypto"
|
||||
enable_extension "plpgsql"
|
||||
|
||||
create_table "grid_summons", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
||||
t.uuid "party_id"
|
||||
t.uuid "summon_id"
|
||||
t.integer "uncap_level"
|
||||
t.boolean "main"
|
||||
t.boolean "friend"
|
||||
t.integer "position"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.index ["party_id"], name: "index_grid_summons_on_party_id"
|
||||
t.index ["summon_id"], name: "index_grid_summons_on_summon_id"
|
||||
end
|
||||
|
||||
create_table "grid_weapons", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
||||
t.uuid "party_id"
|
||||
t.uuid "weapon_id"
|
||||
|
|
@ -78,6 +91,26 @@ ActiveRecord::Schema.define(version: 2020_09_23_205642) do
|
|||
t.index ["user_id"], name: "index_parties_on_user_id"
|
||||
end
|
||||
|
||||
create_table "summons", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
||||
t.string "name_en"
|
||||
t.string "name_jp"
|
||||
t.integer "granblue_id"
|
||||
t.integer "rarity"
|
||||
t.integer "element"
|
||||
t.string "series"
|
||||
t.boolean "flb"
|
||||
t.boolean "ulb"
|
||||
t.integer "max_level"
|
||||
t.integer "min_hp"
|
||||
t.integer "max_hp"
|
||||
t.integer "max_hp_flb"
|
||||
t.integer "max_hp_ulb"
|
||||
t.integer "min_atk"
|
||||
t.integer "max_atk"
|
||||
t.integer "max_atk_flb"
|
||||
t.integer "max_atk_ulb"
|
||||
end
|
||||
|
||||
create_table "users", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
||||
t.string "email"
|
||||
t.string "password_digest"
|
||||
|
|
|
|||
Loading…
Reference in a new issue