OSDN Git Service

Merge branch 'v03_test' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v03_test
[pettanr/pettanr.git] / 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