mirror of
https://github.com/plashchynski/crono.git
synced 2026-03-22 01:19:55 +01:00
11 lines
314 B
Ruby
11 lines
314 B
Ruby
ActiveRecord::Schema.define do
|
|
create_table :crono_jobs do |t|
|
|
t.string :job_id, null: false
|
|
t.text :log, limit: 1_073_741_823 # LONGTEXT for MySQL
|
|
t.datetime :last_performed_at
|
|
t.boolean :healthy
|
|
t.timestamps null: false
|
|
end
|
|
add_index :crono_jobs, [:job_id], unique: true
|
|
end
|