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:
authorRobert Speicher <rspeicher@gmail.com>2016-05-08 22:45:04 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-05-08 22:47:42 +0300
commit0e29653f51b439eb018cefe434a4a57db4239cf4 (patch)
treef431d5773807416f714887816fb3f5e867ee74ac /db/migrate/20160508194200_remove_wall_enabled_from_projects.rb
parentf3578baa83ca8d576f4fe1bef50ebae61615768e (diff)
Remove `wall_enabled` field from Project
Diffstat (limited to 'db/migrate/20160508194200_remove_wall_enabled_from_projects.rb')
-rw-r--r--db/migrate/20160508194200_remove_wall_enabled_from_projects.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160508194200_remove_wall_enabled_from_projects.rb b/db/migrate/20160508194200_remove_wall_enabled_from_projects.rb
new file mode 100644
index 00000000000..aa560bc0f0c
--- /dev/null
+++ b/db/migrate/20160508194200_remove_wall_enabled_from_projects.rb
@@ -0,0 +1,5 @@
+class RemoveWallEnabledFromProjects < ActiveRecord::Migration
+ def change
+ remove_column :projects, :wall_enabled, :boolean, default: true, null: false
+ end
+end