diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-31 11:11:35 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-31 11:11:35 +0400 |
commit | 193a5624b2daf4d638c382b88001d06535f57f2d (patch) | |
tree | 299193dfe694c776a1fc98c59f0c38565ab7a488 /db/migrate/20130131070232_remove_private_flag_from_project.rb | |
parent | 563c55eb7e4db988048bd1b2675ee73e0e601402 (diff) |
add path and path_with_namespace to api project entity
Diffstat (limited to 'db/migrate/20130131070232_remove_private_flag_from_project.rb')
-rw-r--r-- | db/migrate/20130131070232_remove_private_flag_from_project.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130131070232_remove_private_flag_from_project.rb b/db/migrate/20130131070232_remove_private_flag_from_project.rb new file mode 100644 index 00000000000..5754db11558 --- /dev/null +++ b/db/migrate/20130131070232_remove_private_flag_from_project.rb @@ -0,0 +1,9 @@ +class RemovePrivateFlagFromProject < ActiveRecord::Migration + def up + remove_column :projects, :private_flag + end + + def down + add_column :projects, :private_flag, :boolean, default: true, null: false + end +end |