OSDN Git Service

fix extend for profiler
[pettanr/pettanr.git] / db / migrate / 20111208235818_create_speech_balloons.rb
1 class CreateSpeechBalloons < ActiveRecord::Migration
2   def change
3     create_table :speech_balloons do |t|
4       t.integer :panel_id, :null => false
5       t.integer :speech_balloon_template_id, :null => false
6       t.string :classname, :null => false, :limit => 50
7       t.integer :z, :null => false
8       t.integer :t, :null => false
9       t.text :settings
10
11       t.timestamps
12     end
13     add_index :speech_balloons, [:panel_id]
14   end
15 end