Sha256: 59e021d11cf72341492c486298839c1cb4d16f4556fb1fcd36d6db9de9df14bb
Contents?: true
Size: 451 Bytes
Versions: 2
Compression:
Stored size: 451 Bytes
Contents
Sequel.migration do up do run "CREATE TABLE `task_logs` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `task_id` int(11) unsigned NOT NULL, `node_id` int(11) unsigned NOT NULL, `log` text, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;" end down do drop_table :task_logs end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
legion-data-0.1.1 | lib/legion/data/migrations/009_add_task_logs_table.rb |
legion-data-0.1.0 | lib/legion/data/migrations/009_add_task_logs_table.rb |