Sha256: c96c6aba1b8b10132325df71befa05caa64caa8970e72b3ffbe13ab05204f047
Contents?: true
Size: 595 Bytes
Versions: 8
Compression:
Stored size: 595 Bytes
Contents
class AddPoseTables < ActiveRecord::Migration def self.up drop_table 'pose_assignments' drop_table 'pose_words' end def self.down 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 end
Version data entries
8 entries across 7 versions & 1 rubygems