add_index "authors", ["user_id"], :name => "index_authors_on_user_id", :unique => true\r
\r
create_table "balloon_templates", :force => true do |t|\r
- t.integer "speech_balloon_id", :null => false\r
+ t.integer "speach_balloon_id", :null => false\r
t.integer "system_picture_id", :null => false\r
t.integer "tail", :default => 1, :null => false\r
t.integer "size", :default => 1, :null => false\r
t.datetime "updated_at"\r
end\r
\r
- add_index "balloon_templates", ["speech_balloon_id", "tail", "size"], :name => "balloon_templates_idts", :unique => true\r
- add_index "balloon_templates", ["speech_balloon_id"], :name => "index_balloon_templates_on_speech_balloon_id"\r
+ add_index "balloon_templates", ["speach_balloon_id", "tail", "size"], :name => "balloon_templates_idts", :unique => true\r
+ add_index "balloon_templates", ["speach_balloon_id"], :name => "index_balloon_templates_on_speach_balloon_id"\r
\r
create_table "balloons", :force => true do |t|\r
t.integer "panel_id", :null => false\r
add_index "licenses", ["url"], :name => "index_licenses_on_url", :unique => true\r
\r
create_table "original_licenses", :force => true do |t|\r
+ t.integer "artist_id", :null => false\r
t.integer "license_id", :null => false\r
t.string "name", :null => false\r
t.string "url", :null => false\r
t.integer "width", :default => 200, :null => false\r
t.integer "height", :default => 80, :null => false\r
t.integer "border", :default => 1, :null => false\r
- t.integer "x"\r
- t.integer "y"\r
- t.integer "z"\r
- t.integer "t", :null => false\r
- t.integer "author_id", :null => false\r
+ t.integer "x", :null => false\r
+ t.integer "y", :null => false\r
+ t.integer "z", :null => false\r
+ t.integer "t", :default => 1, :null => false\r
+ t.integer "author_id"\r
t.datetime "created_at"\r
t.datetime "updated_at"\r
end\r
t.datetime "updated_at"\r
end\r
\r
- create_table "speech_balloon_templates", :force => true do |t|\r
+ create_table "speach_balloon_templates", :force => true do |t|\r
t.datetime "created_at"\r
t.datetime "updated_at"\r
end\r
\r
- create_table "speech_balloons", :force => true do |t|\r
+ create_table "speach_balloons", :force => true do |t|\r
t.string "name", :null => false\r
t.integer "tail_count", :default => 1, :null => false\r
t.integer "size_count", :default => 1, :null => false\r
t.datetime "updated_at"\r
end\r
\r
- add_index "speech_balloons", ["t"], :name => "speech_balloons_t", :unique => true\r
+ add_index "speach_balloons", ["t"], :name => "speach_balloons_t", :unique => true\r
\r
- create_table "speech_templates", :force => true do |t|\r
+ create_table "speach_templates", :force => true do |t|\r
t.integer "balloon_template_id", :null => false\r
t.integer "x", :null => false\r
t.integer "y", :null => false\r
t.datetime "updated_at"\r
end\r
\r
- add_index "speech_templates", ["balloon_template_id", "t"], :name => "speech_templates_idt", :unique => true\r
+ add_index "speach_templates", ["balloon_template_id", "t"], :name => "speach_templates_idt", :unique => true\r
\r
- create_table "speeches", :force => true do |t|\r
+ create_table "speaches", :force => true do |t|\r
t.integer "balloon_id", :null => false\r
- t.integer "speech_template_id", :null => false\r
+ t.integer "speach_template_id", :null => false\r
t.string "content"\r
t.integer "x", :null => false\r
t.integer "y", :null => false\r
t.datetime "updated_at"\r
end\r
\r
- add_index "speeches", ["balloon_id", "t"], :name => "speeches_bt", :unique => true\r
- add_index "speeches", ["balloon_id"], :name => "index_speeches_on_balloon_id"\r
+ add_index "speaches", ["balloon_id", "t"], :name => "speaches_bt", :unique => true\r
+ add_index "speaches", ["balloon_id"], :name => "index_speaches_on_balloon_id"\r
\r
create_table "system_pictures", :force => true do |t|\r
t.string "ext", :null => false\r