Sha256: fe0c3a4057fbaccaefbf3b375875ba47395dfcde70ac95bb944a7fc18c25ec37

Contents?: true

Size: 230 Bytes

Versions: 4

Compression:

Stored size: 230 Bytes

Contents

class CreateServers < ActiveRecord::Migration
  def self.up
    create_table :servers do |s|
      s.string :domain_name
      s.string :host_name
      s.string :ip
    end
  end

  def self.down
    drop_table :servers
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
validates_host-0.3.1 spec/fake_app/db/migrations/create_servers.rb
validates_host-0.3.0 spec/fake_app/db/migrations/create_servers.rb
validates_host-0.2.0 spec/fake_app/db/migrations/create_servers.rb
validates_host-0.1.0 spec/fake_app/db/migrations/create_servers.rb