1 class CreateSpeeches < ActiveRecord::Migration
3 create_table :speeches do |t|
4 t.integer :speech_balloon_id, :null => false
6 t.integer :x, :null => false
7 t.integer :y, :null => false
8 t.integer :width, :null => false
9 t.integer :height, :null => false
14 add_index :speeches, [:speech_balloon_id]