Sha256: 8cd8c1827c71e89dcb05d4976e8f7f08c5717a99a8753f20b99299304e3798b0
Contents?: true
Size: 465 Bytes
Versions: 74
Compression:
Stored size: 465 Bytes
Contents
class CreateServers < ActiveRecord::Migration include Six::Dbmanager::Migrate def self.up create_table :servers do |t| t.string :name t.string :address t.integer :port t.string :password t.timestamps :lock_version => false end # generate the join tables six_join(["server", "sixconfig"]) end def self.down drop_table :servers six_join(["server", "sixconfig"], :down) end end
Version data entries
74 entries across 74 versions & 1 rubygems