class CreateUsers
Generated by Authkit
.
Create a users table for managing authentication. Fields to handle the authentication are created in the AddAuthkitFieldsToUsers
migration.
Public Class Methods
down()
click to toggle source
# File lib/generators/authkit/templates/db/migrate/create_users.rb, line 14 def self.down drop_table :users end
up()
click to toggle source
# File lib/generators/authkit/templates/db/migrate/create_users.rb, line 8 def self.up create_table :users do |t| t.timestamps null: false end end