From: Nihad Abbasov Date: Fri, 11 Nov 2011 09:35:02 +0000 (+0400) Subject: remove content column from issues X-Git-Tag: v1.2.0pre~38^2~7 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f476c42d00dbea1ddc0736bf991eeb36b9d5dd22;p=wvm%2Fgitlab.git remove content column from issues --- 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 000000000..30bcdfb54 --- /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 3d430f4c2..c9abdef4f 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"