Sha256: 313a5920db3d5ad5941c18241c71a59d48a522f269a1fa1942b729c7dfd9d415

Contents?: true

Size: 199 Bytes

Versions: 2

Compression:

Stored size: 199 Bytes

Contents

class CreateSubnets < ActiveRecord::Migration
  def self.up
    create_table :subnets do |s|
      s.integer :id
      s.string :value
    end
  end

  def self.down
    drop_table :subnets
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
validates_host-0.3.1 spec/fake_app/db/migrations/create_subnets.rb
validates_host-0.3.0 spec/fake_app/db/migrations/create_subnets.rb