remove content column from issues

3-1-stable
Nihad Abbasov 2011-11-11 13:35:02 +04:00
parent f295ff84d9
commit f476c42d00
2 changed files with 10 additions and 2 deletions

View File

@ -0,0 +1,9 @@
class RemoveContentFromIssues < ActiveRecord::Migration
def up
remove_column :issues, :content
end
def down
add_column :issues, :content, :text
end
end

View File

@ -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"