Compare commits
No commits in common. "13a0362e6d6bd1279ecbb4bb8c995932a0df9acd" and "0244653cb0d327e76f844f09100e4f936bfb7d41" have entirely different histories.
13a0362e6d
...
0244653cb0
3 changed files with 2 additions and 9 deletions
|
@ -211,7 +211,7 @@ class PetState < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.last_updated_key
|
def self.last_updated_key
|
||||||
PetState.maximum(:updated_at)
|
PetState.maximum(:id)
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.all_supported_poses
|
def self.all_supported_poses
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
class AddTimestampsToPetStates < ActiveRecord::Migration[7.2]
|
|
||||||
def change
|
|
||||||
add_timestamps :pet_states, null: true
|
|
||||||
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[7.2].define(version: 2024_10_08_004715) do
|
ActiveRecord::Schema[7.2].define(version: 2024_10_03_004726) do
|
||||||
create_table "alt_styles", charset: "utf8mb4", collation: "utf8mb4_unicode_520_ci", force: :cascade do |t|
|
create_table "alt_styles", charset: "utf8mb4", collation: "utf8mb4_unicode_520_ci", force: :cascade do |t|
|
||||||
t.integer "species_id", null: false
|
t.integer "species_id", null: false
|
||||||
t.integer "color_id", null: false
|
t.integer "color_id", null: false
|
||||||
|
@ -219,8 +219,6 @@ ActiveRecord::Schema[7.2].define(version: 2024_10_08_004715) do
|
||||||
t.boolean "labeled", default: false, null: false
|
t.boolean "labeled", default: false, null: false
|
||||||
t.boolean "glitched", default: false, null: false
|
t.boolean "glitched", default: false, null: false
|
||||||
t.string "artist_neopets_username"
|
t.string "artist_neopets_username"
|
||||||
t.datetime "created_at"
|
|
||||||
t.datetime "updated_at"
|
|
||||||
t.index ["pet_type_id"], name: "pet_states_pet_type_id"
|
t.index ["pet_type_id"], name: "pet_states_pet_type_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue