X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=db%2Fmigrate%2F20111208235818_create_speech_balloons.rb;fp=db%2Fmigrate%2F20111208235818_create_speach_balloons.rb;h=ba2ff9d368ab98e5292ef63dedccd6f2733c3121;hp=4bea48860ac7a87fbc36a7654d655d24e70fcb93;hb=278f86183f2474b2c4d219b724e76cbe07ed63dc;hpb=cd9653c66c4883c5e9a483fc47f0ddf77ed837be diff --git a/db/migrate/20111208235818_create_speach_balloons.rb b/db/migrate/20111208235818_create_speech_balloons.rb similarity index 58% rename from db/migrate/20111208235818_create_speach_balloons.rb rename to db/migrate/20111208235818_create_speech_balloons.rb index 4bea4886..ba2ff9d3 100644 --- a/db/migrate/20111208235818_create_speach_balloons.rb +++ b/db/migrate/20111208235818_create_speech_balloons.rb @@ -1,6 +1,6 @@ -class CreateSpeachBalloons < ActiveRecord::Migration +class CreateSpeechBalloons < ActiveRecord::Migration def change - create_table :speach_balloons do |t| + create_table :speech_balloons do |t| t.string :name, :null => false t.integer :tail_count, :null => false, :default => 1 t.integer :size_count, :null => false, :default => 1 @@ -8,6 +8,6 @@ class CreateSpeachBalloons < ActiveRecord::Migration t.timestamps end - add_index :speach_balloons, [:t], :unique => true, :name => 'speach_balloons_t' + add_index :speech_balloons, [:t], :unique => true, :name => 'speech_balloons_t' end end