From: yasushiito Date: Tue, 29 Jan 2013 10:39:26 +0000 (+0900) Subject: t#29388:fix add limit at author's name X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=commitdiff_plain;h=3e6d5c5f1c4be77f5c162d94ede2819c855ea0c9 t#29388:fix add limit at author's name --- diff --git a/db/migrate/20130129102023_add_namelimit_on_author.rb b/db/migrate/20130129102023_add_namelimit_on_author.rb new file mode 100644 index 00000000..e957bd8f --- /dev/null +++ b/db/migrate/20130129102023_add_namelimit_on_author.rb @@ -0,0 +1,8 @@ +class AddNamelimitOnAuthor < ActiveRecord::Migration + def up + change_column :authors, :name, :string, :limit => 30 + end + + def down + end +end