add media to WowPet and pagination
This commit is contained in:
6
db/migrate/20210429132126_update_wow_pet_model.rb
Normal file
6
db/migrate/20210429132126_update_wow_pet_model.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class UpdateWowPetModel < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :wow_pets, :creature_display_id, :integer
|
||||
add_column :wow_pets, :media_zoom_url, :string
|
||||
end
|
||||
end
|
||||
4
db/schema.rb
generated
4
db/schema.rb
generated
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_04_24_192800) do
|
||||
ActiveRecord::Schema.define(version: 2021_04_29_132126) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -197,6 +197,8 @@ ActiveRecord::Schema.define(version: 2021_04_24_192800) do
|
||||
t.integer "creature_id"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.integer "creature_display_id"
|
||||
t.string "media_zoom_url"
|
||||
t.index ["pet_id"], name: "index_wow_pets_on_pet_id", unique: true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user