Sha256: b2246a343495aac1624a4ec530f29fb40063db2563dac070b51560a219494598
Contents?: true
Size: 442 Bytes
Versions: 22
Compression:
Stored size: 442 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 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
22 entries across 22 versions & 1 rubygems