changed post body column to text instead of string
This commit is contained in:
1 parent
1c0272ea09
commit
ffcb2bb0b9
1 file changed
+1
-1
@@ -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