module Pose module Jobs class InitialMigration < ActiveRecord::Migration def change create_table "pose_assignments" do |t| t.integer "word_id", null: false t.integer "posable_id", null: false t.string "posable_type", limit: 60, 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 end # Creates the Pose tables in the database. class Install def perform InitialMigration.new.change end end end end