Sha256: 6eff28ec707fdab43c4efeacb3433a760e25de461ba8127961129a1d8744c3f2

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :br_users do |u|
      u.string :telephone
    end
    create_table :en_users do |u|
      u.string :telephone
    end
  end

  def self.down
    drop_table :br_users
    drop_table :en_users
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
validates_telephone-0.2.1 spec/fake_app/db/create_users.rb
validates_telephone-0.2.0 spec/fake_app/db/create_users.rb