Sha256: 53657a9ffc45a548b9797f545e6ed3bdedc2ecab08b4f0a8d47cbd15cc01d272
Contents?: true
Size: 381 Bytes
Versions: 61
Compression:
Stored size: 381 Bytes
Contents
class CreateContents < ActiveRecord::Migration def self.up create_table :contents do |t| t.string :name t.string :essence_type t.integer :essence_id t.integer :element_id t.integer :position t.timestamps t.userstamps end add_index :contents, [:element_id, :position] end def self.down drop_table :contents end end
Version data entries
61 entries across 61 versions & 1 rubygems