fixed commit commenting
This commit is contained in:
parent
3d7b35a37d
commit
f4e3ec29c4
7 changed files with 84 additions and 7 deletions
9
db/migrate/20120121122616_fix_noteable_id.rb
Normal file
9
db/migrate/20120121122616_fix_noteable_id.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
class FixNoteableId < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :notes, :noteable_id, :string, :limit => 255
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :notes, :noteable_id, :integer, :limit => 11
|
||||
end
|
||||
end
|
16
db/schema.rb
16
db/schema.rb
|
@ -11,7 +11,19 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20120119203233) do
|
||||
ActiveRecord::Schema.define(:version => 20120121122616) do
|
||||
|
||||
create_table "features", :force => true do |t|
|
||||
t.string "name"
|
||||
t.string "branch_name"
|
||||
t.integer "assignee_id"
|
||||
t.integer "author_id"
|
||||
t.integer "project_id"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.string "version"
|
||||
t.integer "status", :default => 0, :null => false
|
||||
end
|
||||
|
||||
create_table "issues", :force => true do |t|
|
||||
t.string "title"
|
||||
|
@ -54,7 +66,7 @@ ActiveRecord::Schema.define(:version => 20120119203233) do
|
|||
|
||||
create_table "notes", :force => true do |t|
|
||||
t.text "note"
|
||||
t.integer "noteable_id", :limit => 255
|
||||
t.string "noteable_id"
|
||||
t.string "noteable_type"
|
||||
t.integer "author_id"
|
||||
t.datetime "created_at"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue