summaryrefslogtreecommitdiff
path: root/db/migrate/20130225160423_create_restore_jobs.rb
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-26 09:22:10 -0500
committerPeter Kozak <spag@golwen.net>2013-02-26 09:22:10 -0500
commiteb0b73618dac66d5f9e1c4127af156886d362315 (patch)
tree0fdaaa0c26ae3365a21f4d02719533151db5e111 /db/migrate/20130225160423_create_restore_jobs.rb
parent0a976c6b463288df4a9516bbd08f6232a37d427c (diff)
parent36919fb419a40688daa97e36734f579488cb56e2 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'db/migrate/20130225160423_create_restore_jobs.rb')
-rw-r--r--db/migrate/20130225160423_create_restore_jobs.rb13
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