[Jitera] Create/Update models and migrations
Created by: akuita
This pull request is created by JITERA
Description
[ERD] Changes
| table | guideline | type | columns |
|---|---|---|---|
| users | Use this file as a base for creating the new "email_confirmations" model. Define the new model class by inheriting from ApplicationRecord. Include necessary validations, associations, and any custom logic related to the "email_confirmations" table. |
UPDATED | id: integer, sign_in_count: integer, remember_created_at: date, current_sign_in_ip: varchar, locked_at: date, encrypted_password: varchar, confirmed_at: date, failed_attempts: integer, last_sign_in_ip: varchar, confirmation_token: varchar, unconfirmed_email: varchar, email: varchar, reset_password_token: varchar, password_confirmation: varchar, last_sign_in_at: date, reset_password_sent_at: date, password: varchar, unlock_token: varchar, current_sign_in_at: date, confirmation_sent_at: date, created_at: date, updated_at: date, password_hash: varchar, email_confirmed: boolean |
| email_confirmations | Use this file as a base for creating the new "email_confirmations" model. Define the new model class by inheriting from ApplicationRecord. Include necessary validations, associations, and any custom logic related to the "email_confirmations" table. |
ADDED | id: integer, created_at: date, updated_at: date, token: varchar, confirmed: boolean, expires_at: date, user_id: integer |