Commit f476c42d00dbea1ddc0736bf991eeb36b9d5dd22

Authored by Nihad Abbasov
1 parent f295ff84

remove content column from issues

db/migrate/20111111093150_remove_content_from_issues.rb 0 → 100644
@@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
  1 +class RemoveContentFromIssues < ActiveRecord::Migration
  2 + def up
  3 + remove_column :issues, :content
  4 + end
  5 +
  6 + def down
  7 + add_column :issues, :content, :text
  8 + end
  9 +end
@@ -11,11 +11,10 @@ @@ -11,11 +11,10 @@
11 # 11 #
12 # It's strongly recommended to check this file into your version control system. 12 # It's strongly recommended to check this file into your version control system.
13 13
14 -ActiveRecord::Schema.define(:version => 20111101222453) do 14 +ActiveRecord::Schema.define(:version => 20111111093150) do
15 15
16 create_table "issues", :force => true do |t| 16 create_table "issues", :force => true do |t|
17 t.string "title" 17 t.string "title"
18 - t.text "content"  
19 t.integer "assignee_id" 18 t.integer "assignee_id"
20 t.integer "author_id" 19 t.integer "author_id"
21 t.integer "project_id" 20 t.integer "project_id"