Skip to content

docs(source): update sql script for creating data source#18

Open
vinhphu2209 wants to merge 1 commit into
devfrom
doc/task-115-add-field-and-handle-data-source
Open

docs(source): update sql script for creating data source#18
vinhphu2209 wants to merge 1 commit into
devfrom
doc/task-115-add-field-and-handle-data-source

Conversation

@vinhphu2209
Copy link
Copy Markdown
Collaborator

This script creates a database for insurance CRM, including tables for customers, agents, insurance providers, vehicles, quotations, and policies. It also sets up triggers for automatic date management and inserts initial data.

This script creates a database for insurance CRM, including tables for customers, agents, insurance providers, vehicles, quotations, and policies. It also sets up triggers for automatic date management and inserts initial data.
@vinhphu2209 vinhphu2209 changed the title feat: update sql script for creating data source (#115) docs(source): update sql script for creating data source (#115) May 28, 2026
@vinhphu2209 vinhphu2209 self-assigned this May 28, 2026
@vinhphu2209 vinhphu2209 added the documentation Improvements or additions to documentation label May 28, 2026
@vinhphu2209 vinhphu2209 requested a review from Cu-Hoang May 28, 2026 09:38
@vinhphu2209 vinhphu2209 changed the title docs(source): update sql script for creating data source (#115) docs(source): update sql script for creating data source May 28, 2026
@perinst perinst self-requested a review May 28, 2026 09:55
email VARCHAR(200),
city NVARCHAR(100),
district NVARCHAR(100),
created_date DATETIME
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • created_date default should be SYSDATETIME()
  • Based on discuss, You can insert updated_date for agents, default is NULL

region NVARCHAR(100),
branch NVARCHAR(100),
manager_name NVARCHAR(200),
created_date DATETIME
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • created_date default should be SYSDATETIME()
  • Based on discuss, You can insert updated_date for cusomters, default is NULL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants