changed post body column to text instead of string
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
class CreatePostsTable < ActiveRecord::Migration
|
class CreatePostsTable < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
create_table :posts, :force => true do |t|
|
create_table :posts, :force => true do |t|
|
||||||
t.string :body
|
t.text :body
|
||||||
t.integer :forum_id
|
t.integer :forum_id
|
||||||
t.integer :topic_id
|
t.integer :topic_id
|
||||||
t.integer :user_id
|
t.integer :user_id
|
||||||
|
|||||||
Reference in New Issue
Block a user