Skip to content

[Jitera] Create/Update models and migrations

Quy requested to merge feat/JT-97-quy14b into main

Created by: akuita

This pull request is created by JITERA

Description

[ERD] Changes

table guideline type columns
users This file already exists. Update the User model to include any new columns or relationships. For example, if you're adding a 'bio' column of type text, you would add attribute :bio, :text within the class definition. Ensure that relationships are correctly defined, such as has_one :email_confirmation_token and has_many :notes. 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, username: varchar, name: varchar

Merge request reports