Commit c19248a2 authored by Marin Jankovski's avatar Marin Jankovski

Add group membership lock field to namespaces.

parent 29c0cf91
class AddGroupMembershipLock < ActiveRecord::Migration
def change
add_column :namespaces, :membership_lock, :boolean, default: false
end
end
......@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20141205134006) do
ActiveRecord::Schema.define(version: 20141212124604) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
......@@ -265,6 +265,7 @@ ActiveRecord::Schema.define(version: 20141205134006) do
t.string "ldap_cn"
t.integer "ldap_access"
t.string "avatar"
t.boolean "membership_lock", default: false
end
add_index "namespaces", ["name"], name: "index_namespaces_on_name", using: :btree
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment