Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2015-02-11 20:47:21 +0300
committerMarin Jankovski <maxlazio@gmail.com>2015-02-11 20:47:21 +0300
commit09d3d351a1a80032c4e9bf185a15ff95819a4da0 (patch)
tree868d4e9fc462cb8f005161d578f14fdf12cb5c21 /db/migrate
parent55153660647741af22be2278d292de8a54bc0402 (diff)
Remove not null constraint on project_id in services.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20150211174341_allow_null_in_services_project_id.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20150211174341_allow_null_in_services_project_id.rb b/db/migrate/20150211174341_allow_null_in_services_project_id.rb
new file mode 100644
index 00000000000..68f02812791
--- /dev/null
+++ b/db/migrate/20150211174341_allow_null_in_services_project_id.rb
@@ -0,0 +1,5 @@
+class AllowNullInServicesProjectId < ActiveRecord::Migration
+ def change
+ change_column :services, :project_id, :integer, null: true
+ end
+end