Sha256: a1927834f7c2268544ccd644a072af407e74b64cd5cdfb62c2f3ebaf3f2b4c73
Contents?: true
Size: 341 Bytes
Versions: 5
Compression:
Stored size: 341 Bytes
Contents
class CreateDomains < ActiveRecord::Migration def self.up create_table :domains do |t| t.string :name, :default => "", :null => false t.string :dnsserver t.string :gateway, :limit => 40 t.string :fullname, :limit => 32 t.timestamps end end def self.down drop_table :domains end end
Version data entries
5 entries across 5 versions & 1 rubygems