Skip to content

Commit

Permalink
wip(sanside): #190 add notifications tables in database
Browse files Browse the repository at this point in the history
refs #190
  • Loading branch information
Marthym committed Dec 9, 2023
1 parent e2cd79f commit e59cc86
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
create table NOTIFICATIONS
(
NOTI_ID VARCHAR(64) NOT NULL PRIMARY KEY,
NOTI_USER_ID VARCHAR(64) NOT NULL,
NOTI_EVENT_TYPE VARCHAR(20) NOT NULL,
NOTI_DATA TEXT,
NOTI_CREATED_AT DATETIME,

constraint FK_NOTI_USER_ID
foreign key (NOTI_USER_ID) references USERS (USER_ID)
);

0 comments on commit e59cc86

Please sign in to comment.