Relational Database Service (MySQL)

Naming Criterion

2024-06-21 08:01:09

• Table and field names should be lowercase or numeric. Do not only contain numbers between two underlines. For example, ctyun_admin, rds_config, or level_name.

• Do not use MySQL reserved words such as desc, range, match, or delayed.

• The table names should be singular nouns rather than plural nouns.

• The primary key index names are prefixed with pk, unique index names are prefixed with uk, and normal index names are prefixed with idx.

• In different databases or tables, ensure that columns that store the same data have the same name and type to ensure data consistency.


qStLe1sPR5W5