mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-19 07:29:54 +02:00
Cleanup and get rspec to run again
This commit is contained in:
BIN
spec/internal/db/crono_test.sqlite
Normal file
BIN
spec/internal/db/crono_test.sqlite
Normal file
Binary file not shown.
10
spec/internal/db/schema.rb
Normal file
10
spec/internal/db/schema.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
||||
Reference in New Issue
Block a user