diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-12-28 14:32:18 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2016-01-04 17:00:29 +0300 |
commit | 8b1844912561a7e6dd0cc361ea1514f2a340e275 (patch) | |
tree | 9a6c705fb9ac1c1e6c28f5ed712025c0b020fd1c /db/migrate | |
parent | 57074d606b20516921ff2297e2f94262b58e3d3e (diff) |
remove public field from namespace and refactoring
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20151228111122_remove_public_from_namespace.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20151228111122_remove_public_from_namespace.rb b/db/migrate/20151228111122_remove_public_from_namespace.rb new file mode 100644 index 00000000000..f4c848bbf47 --- /dev/null +++ b/db/migrate/20151228111122_remove_public_from_namespace.rb @@ -0,0 +1,6 @@ +# Migration type: online +class RemovePublicFromNamespace < ActiveRecord::Migration + def change + remove_column :namespaces, :public, :boolean + end +end |