summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-14 16:30:48 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-14 16:30:48 +0300
commite7c930a55b9832a767bfb1a5e2a8add8f9e719f9 (patch)
tree93f264dce4f668f21a9155229ab640f25282e810 /db/migrate
parentda98cebc5bd72f5cfc25c50fcaecbe952db5f3ed (diff)
downloadgitlab-ce-e7c930a55b9832a767bfb1a5e2a8add8f9e719f9.tar.gz
Add imported boolean to project. Prevent shell from creating repo after it was imported
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20130614132337_add_improted_to_project.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20130614132337_add_improted_to_project.rb b/db/migrate/20130614132337_add_improted_to_project.rb
new file mode 100644
index 00000000000..cc882c3f10a
--- /dev/null
+++ b/db/migrate/20130614132337_add_improted_to_project.rb
@@ -0,0 +1,5 @@
+class AddImprotedToProject < ActiveRecord::Migration
+ def change
+ add_column :projects, :imported, :boolean, default: false, null: false
+ end
+end