discourse/db/migrate/20240223052820_create_problem_check_trackers.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
417 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class CreateProblemCheckTrackers < ActiveRecord::Migration[7.0]
def change
create_table :problem_check_trackers do |t|
t.string :identifier, null: false, index: { unique: true }
t.integer :blips, null: false, default: 0
t.datetime :last_run_at
t.datetime :next_run_at
t.datetime :last_success_at
t.datetime :last_problem_at
end
end
end