diff --git a/db/migrate/20231016112610_change_scheduled_publishing_delay_seconds_to_bigint.rb b/db/migrate/20231016112610_change_scheduled_publishing_delay_seconds_to_bigint.rb new file mode 100644 index 00000000..f14c768f --- /dev/null +++ b/db/migrate/20231016112610_change_scheduled_publishing_delay_seconds_to_bigint.rb @@ -0,0 +1,9 @@ +class ChangeScheduledPublishingDelaySecondsToBigint < ActiveRecord::Migration[7.0] + def up + change_column :content_items, :scheduled_publishing_delay_seconds, :bigint + end + + def down + change_column :content_items, :scheduled_publishing_delay_seconds, :integer + end +end diff --git a/db/schema.rb b/db/schema.rb index 4899faab..5453297d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2023_08_30_093643) do +ActiveRecord::Schema[7.0].define(version: 2023_10_16_112610) do # These are extensions that must be enabled in order to support this database enable_extension "pgcrypto" enable_extension "plpgsql" @@ -35,7 +35,7 @@ t.datetime "first_published_at" t.datetime "public_updated_at" t.datetime "publishing_scheduled_at" - t.integer "scheduled_publishing_delay_seconds" + t.bigint "scheduled_publishing_delay_seconds" t.jsonb "details", default: {} t.string "publishing_app" t.string "rendering_app"