Sha256: a2b5df19e10fd9d69a650fe491cd67d73bfb494936cbad096215d9395cdf9adf
Contents?: true
Size: 594 Bytes
Versions: 11
Compression:
Stored size: 594 Bytes
Contents
class AddPoseTables < ActiveRecord::Migration def self.up create_table "pose_assignments" do |t| t.integer "pose_word_id", null: false t.integer "posable_id", null: false t.string "posable_type", limit: 40, null: false end add_index "pose_assignments", :pose_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
11 entries across 10 versions & 1 rubygems