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
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-10 22:17:57 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-13 19:25:18 +0400
commit4c6224aad173a26f1fbe20588b4b155f031d779f (patch)
tree8aaae3125c304094e2b5203b44bf977af995be22 /db
parenteb626edd3fe2602321080e231cf748afc86d4700 (diff)
Public git read-only access via http
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20130110172407_add_public_to_project.rb5
-rw-r--r--db/schema.rb17
2 files changed, 14 insertions, 8 deletions
diff --git a/db/migrate/20130110172407_add_public_to_project.rb b/db/migrate/20130110172407_add_public_to_project.rb
new file mode 100644
index 00000000000..45edba48152
--- /dev/null
+++ b/db/migrate/20130110172407_add_public_to_project.rb
@@ -0,0 +1,5 @@
+class AddPublicToProject < ActiveRecord::Migration
+ def change
+ add_column :projects, :public, :boolean, default: false, null: false
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index b1cf0ccbdb2..4b3a2243609 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20130102143055) do
+ActiveRecord::Schema.define(:version => 20130110172407) do
create_table "events", :force => true do |t|
t.string "target_type"
@@ -145,16 +145,17 @@ ActiveRecord::Schema.define(:version => 20130102143055) do
t.string "name"
t.string "path"
t.text "description"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
- t.boolean "private_flag", :default => true, :null => false
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
+ t.boolean "private_flag", :default => true, :null => false
t.integer "creator_id"
t.string "default_branch"
- t.boolean "issues_enabled", :default => true, :null => false
- t.boolean "wall_enabled", :default => true, :null => false
- t.boolean "merge_requests_enabled", :default => true, :null => false
- t.boolean "wiki_enabled", :default => true, :null => false
+ t.boolean "issues_enabled", :default => true, :null => false
+ t.boolean "wall_enabled", :default => true, :null => false
+ t.boolean "merge_requests_enabled", :default => true, :null => false
+ t.boolean "wiki_enabled", :default => true, :null => false
t.integer "namespace_id"
+ t.boolean "public", :default => false, :null => false
end
add_index "projects", ["creator_id"], :name => "index_projects_on_owner_id"