summaryrefslogtreecommitdiff
path: root/db/ci/migrate/20121004140911_create_projects.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/ci/migrate/20121004140911_create_projects.rb')
-rw-r--r--db/ci/migrate/20121004140911_create_projects.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/db/ci/migrate/20121004140911_create_projects.rb b/db/ci/migrate/20121004140911_create_projects.rb
new file mode 100644
index 00000000000..a9fee3aa6c8
--- /dev/null
+++ b/db/ci/migrate/20121004140911_create_projects.rb
@@ -0,0 +1,14 @@
+class CreateProjects < ActiveRecord::Migration
+ def up
+ create_table :projects do |t|
+ t.string :name, null: false
+ t.string :path, null: false
+ t.integer :timeout, null: false, default: 1800
+ t.text :scripts, null: false
+ t.timestamps
+ end
+ end
+
+ def down
+ end
+end