Updated db-schema

This commit is contained in:
Marc Beyer 2021-12-20 19:43:00 +01:00
parent 29bc01fb42
commit 4efb5154df
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,5 @@
https://dbdiagram.io/d/ https://dbdiagram.io/d/
Table "event" { Table "event" {
"id" bigint(20) [pk, not null, increment] "id" bigint(20) [pk, not null, increment]
"name" varchar(255) [default: NULL] "name" varchar(255) [default: NULL]
@ -13,6 +12,7 @@ Table "event" {
Table "user" { Table "user" {
"id" bigint(20) [pk, not null, increment] "id" bigint(20) [pk, not null, increment]
"login" varchar(255) [default: NULL]
"forename" varchar(255) [default: NULL] "forename" varchar(255) [default: NULL]
"name" varchar(255) [default: NULL] "name" varchar(255) [default: NULL]
"is_admin" bit(1) [not null] "is_admin" bit(1) [not null]
@ -33,4 +33,5 @@ Indexes {
} }
Ref:"event"."id" < "user_event"."event_id" Ref:"event"."id" < "user_event"."event_id"
Ref:"user"."id" < "user_event"."user_id" Ref:"user"."id" < "user_event"."user_id"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 44 KiB