diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-26 10:48:26 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-26 10:48:26 +0100 |
commit | b144a7885610d605447c80f659643524a839db0c (patch) | |
tree | 0ba02970c4ce7a30d2859b01d9121fbf04cd5c75 /db/migrate/20130225160423_create_restore_jobs.rb | |
parent | 0442cd19bc9383669b506185356227361a16e442 (diff) | |
parent | ffaa80e8d46b3b6b7597af6f157724005f48bae4 (diff) |
Merge branch 'restore' into develop
Diffstat (limited to 'db/migrate/20130225160423_create_restore_jobs.rb')
-rw-r--r-- | db/migrate/20130225160423_create_restore_jobs.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20130225160423_create_restore_jobs.rb b/db/migrate/20130225160423_create_restore_jobs.rb new file mode 100644 index 0000000..9f83791 --- /dev/null +++ b/db/migrate/20130225160423_create_restore_jobs.rb @@ -0,0 +1,13 @@ +class CreateRestoreJobs < ActiveRecord::Migration + def self.up + create_table :restore_jobs do |t| + t.string :state + t.string :backup_file + t.timestamps + end + end + + def self.down + drop_table :restore_jobs + end +end |