summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-02-07 14:42:52 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-02-28 17:14:21 +0400
commit9f45e01e8426b9d678a210bb5237628676f99894 (patch)
tree1f8807a94a32eeceb5c90f39ca82018a519aa7b7 /db
parent135418dcbf72d264a846649b95ea8e6d8a2aadcf (diff)
downloadgitlab-ce-9f45e01e8426b9d678a210bb5237628676f99894.tar.gz
Description to groups added
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20130206084024_add_description_to_namsespace.rb5
-rw-r--r--db/schema.rb7
2 files changed, 10 insertions, 2 deletions
diff --git a/db/migrate/20130206084024_add_description_to_namsespace.rb b/db/migrate/20130206084024_add_description_to_namsespace.rb
new file mode 100644
index 00000000000..ef02e489d03
--- /dev/null
+++ b/db/migrate/20130206084024_add_description_to_namsespace.rb
@@ -0,0 +1,5 @@
+class AddDescriptionToNamsespace < ActiveRecord::Migration
+ def change
+ add_column :namespaces, :description, :string, default: '', null: false
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 74d5f9a360c..63f498e4a66 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -112,6 +112,7 @@ ActiveRecord::Schema.define(:version => 20130220133245) do
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.string "type"
+ t.string "description", :default => "", :null => false
end
add_index "namespaces", ["name"], :name => "index_namespaces_on_name"
@@ -152,6 +153,8 @@ ActiveRecord::Schema.define(:version => 20130220133245) do
t.boolean "wiki_enabled", :default => true, :null => false
t.integer "namespace_id"
t.boolean "public", :default => false, :null => false
+ t.string "issues_tracker", :default => "gitlab", :null => false
+ t.string "issues_tracker_id"
end
add_index "projects", ["creator_id"], :name => "index_projects_on_owner_id"
@@ -230,8 +233,8 @@ ActiveRecord::Schema.define(:version => 20130220133245) do
t.string "name"
t.string "path"
t.integer "owner_id"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
end
create_table "users", :force => true do |t|