Update schema and data_schema
This commit is contained in:
parent
5a0a03c2b7
commit
b3cc5a5432
2 changed files with 25 additions and 7 deletions
1
db/data_schema.rb
Normal file
1
db/data_schema.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
DataMigrate::Data.define(version: 20230102235227)
|
||||
31
db/schema.rb
31
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_12_26_054501) do
|
||||
ActiveRecord::Schema.define(version: 2023_01_02_235042) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "btree_gin"
|
||||
|
|
@ -48,6 +48,9 @@ ActiveRecord::Schema.define(version: 2022_12_26_054501) do
|
|||
t.index ["name_en"], name: "index_characters_on_name_en", opclass: :gin_trgm_ops, using: :gin
|
||||
end
|
||||
|
||||
create_table "data_migrations", primary_key: "version", id: :string, force: :cascade do |t|
|
||||
end
|
||||
|
||||
create_table "favorites", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
|
||||
t.uuid "user_id"
|
||||
t.uuid "party_id"
|
||||
|
|
@ -67,6 +70,17 @@ ActiveRecord::Schema.define(version: 2022_12_26_054501) do
|
|||
t.boolean "perpetuity", default: false, null: false
|
||||
t.integer "awakening_type", default: 0, null: false
|
||||
t.integer "awakening_level", default: 1, null: false
|
||||
t.integer "transcendence_step", default: 0, null: false
|
||||
t.integer "ring_modifier1"
|
||||
t.float "ring_strength1"
|
||||
t.integer "ring_modifier2"
|
||||
t.float "ring_strength2"
|
||||
t.integer "ring_modifier3"
|
||||
t.float "ring_strength3"
|
||||
t.integer "ring_modifier4"
|
||||
t.float "ring_strength4"
|
||||
t.integer "earring_modifier"
|
||||
t.float "earring_strength"
|
||||
t.index ["character_id"], name: "index_grid_characters_on_character_id"
|
||||
t.index ["party_id"], name: "index_grid_characters_on_party_id"
|
||||
end
|
||||
|
|
@ -80,6 +94,7 @@ ActiveRecord::Schema.define(version: 2022_12_26_054501) do
|
|||
t.integer "position"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.integer "transcendence_step", default: 0, 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
|
||||
|
|
@ -211,9 +226,9 @@ ActiveRecord::Schema.define(version: 2022_12_26_054501) do
|
|||
t.integer "rarity"
|
||||
t.integer "element"
|
||||
t.string "series"
|
||||
t.boolean "flb"
|
||||
t.boolean "ulb"
|
||||
t.integer "max_level"
|
||||
t.boolean "flb", default: false, null: false
|
||||
t.boolean "ulb", default: false, null: false
|
||||
t.integer "max_level", default: 100, null: false
|
||||
t.integer "min_hp"
|
||||
t.integer "max_hp"
|
||||
t.integer "max_hp_flb"
|
||||
|
|
@ -223,7 +238,8 @@ ActiveRecord::Schema.define(version: 2022_12_26_054501) do
|
|||
t.integer "max_atk_flb"
|
||||
t.integer "max_atk_ulb"
|
||||
t.boolean "subaura", default: false, null: false
|
||||
t.integer "limit"
|
||||
t.boolean "limit", default: false, null: false
|
||||
t.boolean "xlb", default: false, null: false
|
||||
t.index ["name_en"], name: "index_summons_on_name_en", opclass: :gin_trgm_ops, using: :gin
|
||||
end
|
||||
|
||||
|
|
@ -273,9 +289,10 @@ ActiveRecord::Schema.define(version: 2022_12_26_054501) do
|
|||
t.integer "max_atk_flb"
|
||||
t.integer "max_atk_ulb"
|
||||
t.boolean "extra", default: false, null: false
|
||||
t.integer "limit"
|
||||
t.integer "ax", default: 0, null: false
|
||||
t.integer "ax_type"
|
||||
t.boolean "awakening", default: true, null: false
|
||||
t.boolean "limit", default: false, null: false
|
||||
t.boolean "ax", default: false, null: false
|
||||
t.index ["name_en"], name: "index_weapons_on_name_en", opclass: :gin_trgm_ops, using: :gin
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue