diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-02-11 09:47:21 -0800 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-02-11 09:47:21 -0800 |
commit | 09d3d351a1a80032c4e9bf185a15ff95819a4da0 (patch) | |
tree | 868d4e9fc462cb8f005161d578f14fdf12cb5c21 /db/migrate/20150211174341_allow_null_in_services_project_id.rb | |
parent | 55153660647741af22be2278d292de8a54bc0402 (diff) | |
download | gitlab-ce-09d3d351a1a80032c4e9bf185a15ff95819a4da0.tar.gz |
Remove not null constraint on project_id in services.
Diffstat (limited to 'db/migrate/20150211174341_allow_null_in_services_project_id.rb')
-rw-r--r-- | db/migrate/20150211174341_allow_null_in_services_project_id.rb | 5 |
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 |