mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Handle website delete. Added response helper functions.
This commit is contained in:
parent
0a411a9ad6
commit
c4b75e4aec
31 changed files with 314 additions and 96 deletions
|
|
@ -32,7 +32,7 @@ create table session (
|
|||
|
||||
create table pageview (
|
||||
view_id serial primary key,
|
||||
website_id int not null references website(website_id),
|
||||
website_id int not null references website(website_id) on delete cascade,
|
||||
session_id int not null references session(session_id) on delete cascade,
|
||||
created_at timestamp with time zone default current_timestamp,
|
||||
url varchar(500) not null,
|
||||
|
|
@ -41,7 +41,7 @@ create table pageview (
|
|||
|
||||
create table event (
|
||||
event_id serial primary key,
|
||||
website_id int not null references website(website_id),
|
||||
website_id int not null references website(website_id) on delete cascade,
|
||||
session_id int not null references session(session_id) on delete cascade,
|
||||
created_at timestamp with time zone default current_timestamp,
|
||||
url varchar(500) not null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue