summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorValera Sizov <vsv2711@gmail.com>2011-10-09 04:05:31 -0700
committerValera Sizov <vsv2711@gmail.com>2011-10-09 04:05:31 -0700
commit9840102651ac84d2eb7824113a544bf4992e0398 (patch)
tree6be90258006411d395b8bf5a7bad3817fa9dd9f7 /db
parent819818ad740921c76e551dd602f9d0b59097fff4 (diff)
downloadgitlab-ce-9840102651ac84d2eb7824113a544bf4992e0398.tar.gz
Issue #82 - Add owner to project
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20111009101738_add_ownerto_project.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20111009101738_add_ownerto_project.rb b/db/migrate/20111009101738_add_ownerto_project.rb
new file mode 100644
index 00000000000..8d265533add
--- /dev/null
+++ b/db/migrate/20111009101738_add_ownerto_project.rb
@@ -0,0 +1,5 @@
+class AddOwnertoProject < ActiveRecord::Migration
+ def change
+ add_column :projects, :owner_id, :integer
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index eda4b8050ed..ad4b28875bc 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 => 20111005193700) do
+ActiveRecord::Schema.define(:version => 20111009101738) do
create_table "issues", :force => true do |t|
t.string "title"
@@ -52,6 +52,7 @@ ActiveRecord::Schema.define(:version => 20111005193700) do
t.datetime "updated_at"
t.boolean "private_flag", :default => true, :null => false
t.string "code"
+ t.integer "owner_id"
end
create_table "users", :force => true do |t|