summaryrefslogtreecommitdiff
path: root/db/ci/migrate/20150601043220_add_yaml_to_projects.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/ci/migrate/20150601043220_add_yaml_to_projects.rb')
-rw-r--r--db/ci/migrate/20150601043220_add_yaml_to_projects.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/ci/migrate/20150601043220_add_yaml_to_projects.rb b/db/ci/migrate/20150601043220_add_yaml_to_projects.rb
new file mode 100644
index 00000000000..f7418426425
--- /dev/null
+++ b/db/ci/migrate/20150601043220_add_yaml_to_projects.rb
@@ -0,0 +1,9 @@
+class AddYamlToProjects < ActiveRecord::Migration
+ def up
+ add_column :projects, :generated_yaml_config, :text
+ end
+
+ def down
+ remove_column :projects, :generated_yaml_config
+ end
+end