Sha256: db9f7a4a21358ffb1e431aca18c9eea83794433764af29b9070da9576ddfc748

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

# Generated by Authkit.
#
# Create a users table for managing authentication. Fields to handle
# the authentication are created in the AddAuthkitFieldsToUsers
# migration.
#
class CreateUsers < ActiveRecord::Migration[5.0]
  def self.up
    create_table :users do |t|
      t.timestamps null: false
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authkit-0.7.0 lib/generators/authkit/templates/db/migrate/create_users.rb