Sha256: 29ef8a280feac4313c1a0b5af6dfcaa270e1c20f71c880bfe5856d927f686f92

Contents?: true

Size: 475 Bytes

Versions: 4

Compression:

Stored size: 475 Bytes

Contents

Sequel.migration do
  up do
    run '
      create table schedule_logs (
        id int auto_increment,
        schedule_id int not null,
        status varchar(255) null,
        time_queued datetime default CURRENT_TIMESTAMP not null,
        task_id int null,
        created datetime default CURRENT_TIMESTAMP not null,
        updated datetime null,
        constraint schedule_logs_pk primary key (id)
      );'
  end

  down do
    drop_table :schedule_logs
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lex-scheduler-0.1.3 lib/legion/extensions/scheduler/data/migrations/002_schedule_log.rb
lex-scheduler-0.1.2 lib/legion/extensions/scheduler/data/migrations/002_schedule_log.rb
lex-scheduler-0.1.1 lib/legion/extensions/scheduler/data/migrations/002_schedule_log.rb
lex-scheduler-0.1.0 lib/legion/extensions/scheduler/data/migrations/002_schedule_log.rb