1 class CreateSpeachTemplates < ActiveRecord::Migration
3 create_table :speach_templates do |t|
4 t.integer :balloon_template_id, :null => false
5 t.integer :top_offset, :null => false
6 t.integer :left_offset, :null => false
7 t.integer :width, :null => false
8 t.integer :height, :null => false
12 add_index :speach_templates, [:balloon_template_id]