OSDN Git Service

import all source code
[pettanr/pettanr.git] / db / migrate / 20111206120252_create_speach_templates.rb
1 class CreateSpeachTemplates < ActiveRecord::Migration
2   def change
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
9
10       t.timestamps
11     end
12     add_index :speach_templates, [:balloon_template_id]
13   end
14 end