Sha256: 43a6dc5641e17366f593cfe22f36e26752e472aeb7d0cd911e41621a17015fae
Contents?: true
Size: 582 Bytes
Versions: 2
Compression:
Stored size: 582 Bytes
Contents
class InstallPose < ActiveRecord::Migration def self.up create_table "pose_assignments" do |t| t.integer "word_id", null: false t.integer "posable_id", null: false t.string "posable_type", limit: 40, null: false end add_index "pose_assignments", :word_id add_index "pose_assignments", :posable_id create_table "pose_words" do |t| t.string "text", limit: 80, null: false end add_index "pose_words", :text end def self.down drop_table 'pose_assignments' drop_table 'pose_words' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pose-3.0.0 | lib/generators/pose/install/templates/install_migration.rb |
pose-2.1.0 | lib/generators/pose/install/templates/install_migration.rb |