Changes between Version 2 and Version 3 of LogicalAndPhysicalDesign


Ignore:
Timestamp:
12/07/25 23:13:33 (3 weeks ago)
Author:
231035
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LogicalAndPhysicalDesign

    v2 v3  
    22== DDL
    33{{{
     4
     5CREATE TYPE user_role AS ENUM ('ADMIN', 'USER', 'GUEST');
    46
    57CREATE TABLE User (
     
    79    username     VARCHAR(50)  NOT NULL UNIQUE,
    810    email        VARCHAR(255) NOT NULL UNIQUE,
    9     role         VARCHAR(30)  NOT NULL,
     11    role         user_role  NOT NULL,
    1012    fullname     VARCHAR(100),
    1113    name         VARCHAR(50),