Sha256: 15c3b022266e93e19426cca4408d2e1956e2ab2972884f6857f47307e875871e

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

# frozen_string_literal: true

class CreateUsers < (
    Rails.version < '5.2' ? ActiveRecord::Migration : ActiveRecord::Migration[4.2]
  )
  def change
    create_table :users do |t|
      t.string :name
      t.string :email
      t.string :password
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eac_rails_utils-0.11.5 test/dummy/db/migrate/20160415125333_create_users.rb