remove content column from issues
This commit is contained in:
parent
f295ff84d9
commit
f476c42d00
2 changed files with 10 additions and 2 deletions
9
db/migrate/20111111093150_remove_content_from_issues.rb
Normal file
9
db/migrate/20111111093150_remove_content_from_issues.rb
Normal 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
|
|
@ -11,11 +11,10 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended to check this file into your version control system.
|
# 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|
|
create_table "issues", :force => true do |t|
|
||||||
t.string "title"
|
t.string "title"
|
||||||
t.text "content"
|
|
||||||
t.integer "assignee_id"
|
t.integer "assignee_id"
|
||||||
t.integer "author_id"
|
t.integer "author_id"
|
||||||
t.integer "project_id"
|
t.integer "project_id"
|
||||||
|
|
Loading…
Reference in a new issue