Sha256: 887fab5dbaf1c32121e2554250e82a1a60063c8035d7d423d88ef889ae8ea6e1

Contents?: true

Size: 236 Bytes

Versions: 3

Compression:

Stored size: 236 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |u|
      u.string :telephone
      u.string :br_telephone
      u.string :usa_telephone
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
validates_telephone-1.1.0 spec/fake_app/db/create_users.rb
validates_telephone-1.0.1 spec/fake_app/db/create_users.rb
validates_telephone-1.0.0 spec/fake_app/db/create_users.rb