diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2011-11-11 13:35:02 +0400 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2011-11-11 13:35:02 +0400 |
commit | f476c42d00dbea1ddc0736bf991eeb36b9d5dd22 (patch) | |
tree | 4a274fb7b18a87a78463a55da8af5f368aa3653f /db | |
parent | f295ff84d9597b60c985657aa03fc1ef1e087aa8 (diff) | |
download | gitlab-ce-f476c42d00dbea1ddc0736bf991eeb36b9d5dd22.tar.gz |
remove content column from issues
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20111111093150_remove_content_from_issues.rb | 9 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 10 insertions, 2 deletions
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 00000000000..30bcdfb543b --- /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 3d430f4c296..c9abdef4f7a 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" |