Sha256: 13fb0b777025033d5a0df58153ee42803a6f034c515b1d88e5f15d3cf6ffbf59
Contents?: true
Size: 530 Bytes
Versions: 74
Compression:
Stored size: 530 Bytes
Contents
class CreateMods < ActiveRecord::Migration include Six::Dbmanager::Migrate def self.up create_table :mods do |t| t.string :name t.timestamps :lock_version => false end # generate the join tables six_join(["mod", "repository"]) six_join(["mod", "sixconfig"]) six_join(["mod", "server"]) end def self.down drop_table :mods six_join(["mod", "repository"], :down) six_join(["mod", "sixconfig"], :down) six_join(["mod", "server"], :down) end end
Version data entries
74 entries across 74 versions & 1 rubygems