song-node-document

Tables (3)

Documents (Untitled2)

  • documentId — default(autoincrement()) — Primary key — NOT NULL
  • userId (userId2) — Foreign key → Users.userId — NOT NULL
  • name
  • title
  • status
  • introduction
  • createdAt — default(now())
  • updatedAt — updatedAt

UserInfos (Untitled)

  • userInfoId — default(autoincrement()) — Primary key — NOT NULL
  • userId (userId2) — Foreign key → Users.userId — NOT NULL
  • name
  • age
  • gender
  • profileImage
  • createdAt — default(now())
  • updatedAt — updatedAt

Users

  • userId — default(autoincrement()) — Primary key — NOT NULL
  • email
  • password
  • createdAt — default(now())
  • updatedAt — updatedAt