Sha256: 5bbb0aca9d31c670f37e97e66a1b5ffbeb125e11c457c434cd0d1a86cc42b668

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

class CreateUsers < ActiveRecord::Migration[5.1]
  def change
    create_table :users do |t|
      t.text :email
      t.text :password_digest
      t.text :first_name
      t.text :last_name
      t.text :patronymic
      t.text :avatar
      t.text :state
      t.text :role

      t.timestamps null: false
    end
  end
end
# FIXME specify rails version
# default is 5.1

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tramway-user-0.1.0 lib/tramway/user/generators/templates/create_users.rb