diff --git a/db/migrate/20111111093150_remove_content_from_issues.rb b/db/migrate/20111111093150_remove_content_from_issues.rb new file mode 100644 index 00000000..30bcdfb5 --- /dev/null +++ b/db/migrate/20111111093150_remove_content_from_issues.rb @@ -0,0 +1,9 @@ +class RemoveContentFromIssues < ActiveRecord::Migration + def up + remove_column :issues, :content + end + + def down + add_column :issues, :content, :text + end +end diff --git a/db/schema.rb b/db/schema.rb index 3d430f4c..c9abdef4 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,11 +11,10 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20111101222453) do +ActiveRecord::Schema.define(:version => 20111111093150) do create_table "issues", :force => true do |t| t.string "title" - t.text "content" t.integer "assignee_id" t.integer "author_id" t.integer "project_id"