Add edit key to Parties table
This commit is contained in:
parent
e13bc6f636
commit
c4ae38a432
2 changed files with 7 additions and 2 deletions
5
db/migrate/20230131082521_add_edit_key_to_parties.rb
Normal file
5
db/migrate/20230131082521_add_edit_key_to_parties.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddEditKeyToParties < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :parties, :edit_key, :string, unique: true, null: true
|
||||
end
|
||||
end
|
||||
|
|
@ -10,13 +10,12 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2023_01_30_114432) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2023_01_31_082521) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "btree_gin"
|
||||
enable_extension "pg_trgm"
|
||||
enable_extension "pgcrypto"
|
||||
enable_extension "plpgsql"
|
||||
enable_extension "timescaledb"
|
||||
|
||||
create_table "app_updates", primary_key: "updated_at", id: :datetime, force: :cascade do |t|
|
||||
t.string "update_type", null: false
|
||||
|
|
@ -226,6 +225,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_30_114432) do
|
|||
t.uuid "accessory_id"
|
||||
t.integer "characters_count"
|
||||
t.integer "summons_count"
|
||||
t.string "edit_key"
|
||||
t.index ["accessory_id"], name: "index_parties_on_accessory_id"
|
||||
t.index ["job_id"], name: "index_parties_on_job_id"
|
||||
t.index ["skill0_id"], name: "index_parties_on_skill0_id"
|
||||
|
|
|
|||
Loading…
Reference in a new issue