Issue #82 - Add owner to project

This commit is contained in:
Valera Sizov 2011-10-09 04:05:31 -07:00
parent 819818ad74
commit 9840102651
7 changed files with 15 additions and 3 deletions

View file

@ -0,0 +1,5 @@
class AddOwnertoProject < ActiveRecord::Migration
def change
add_column :projects, :owner_id, :integer
end
end

View file

@ -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|