Sha256: 4bcfaea2795b90323f67178daa749865d0adcc6395560504d46d9bad9d42f133

Contents?: true

Size: 180 Bytes

Versions: 4

Compression:

Stored size: 180 Bytes

Contents

class CreateAdmins < ActiveRecord::Migration
  def self.up
    create_table :admins do |u|
      u.string :telephone
    end
  end

  def self.down
    drop_table :admins
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
validates_telephone-0.2.1 spec/fake_app/db/create_admins.rb
validates_telephone-0.2.0 spec/fake_app/db/create_admins.rb
validates_telephone-0.1.0 spec/fake_app/db/create_admins.rb
validates_telephone-0.0.1 spec/fake_app/db/create_admins.rb