aritcle

Tables (4)

Article (Untitled)

  • Key — Type — Primary key — NOT NULL
  • title (Field) — varchar(10)
  • content (Field2) — text
  • created_at (Field3) — date
  • updated_at (Field4) — date
  • user_id (Key2) — Foreign key → User.Key — NOT NULL

Comment (Untitled2)

  • Key — Primary key — NOT NULL
  • comment (Field)
  • created_at (Field2)
  • updated_at (Field3)
  • article_id (Key2) — Type — Foreign key → Article.Key — NOT NULL
  • Key (Key3) — Foreign key → User.Key — NOT NULL

Like (Untitled3)

  • Key — Primary key — NOT NULL
  • article_id (Key2) — Type — Foreign key → Article.Key — NOT NULL
  • user_id (Key3) — Foreign key → User.Key — NOT NULL

User (CopyOfUntitled2)

  • Key — Primary key — NOT NULL
  • username (Field) — text
  • password (Field2) — text
  • fullname (Field3) — text
  • join_date (Field4) — date
  • is_active (Field5) — bool
  • is_admin (Field6) — bool