Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
remove default of '' for comment column
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdempsey committed Mar 27, 2010
1 parent 9d447d9 commit 247df98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/comment/templates/create_comments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class CreateComments < ActiveRecord::Migration
def self.up
create_table :comments do |t|
t.string :title, :limit => 50, :default => ""
t.text :comment, :default => ""
t.text :comment
t.references :commentable, :polymorphic => true
t.references :user
t.timestamps
Expand Down

0 comments on commit 247df98

Please sign in to comment.