mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 10:51:36 +01:00
Initialize playwright, fix file upload issue, show publication status and delete website dir on website deletion
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
-- migrate:up
|
||||
CREATE OR REPLACE VIEW api.website WITH ( security_invoker = ON
|
||||
) AS
|
||||
SELECT
|
||||
id,
|
||||
user_id,
|
||||
content_type,
|
||||
title,
|
||||
created_at,
|
||||
last_modified_at,
|
||||
last_modified_by,
|
||||
title_search,
|
||||
is_published -- New column
|
||||
FROM
|
||||
internal.website;
|
||||
|
||||
GRANT SELECT, UPDATE, DELETE ON api.website TO authenticated_user;
|
||||
|
||||
-- migrate:down
|
||||
DROP VIEW api.website;
|
||||
|
||||
CREATE OR REPLACE VIEW api.website WITH ( security_invoker = ON
|
||||
) AS
|
||||
SELECT
|
||||
id,
|
||||
user_id,
|
||||
content_type,
|
||||
title,
|
||||
created_at,
|
||||
last_modified_at,
|
||||
last_modified_by,
|
||||
title_search
|
||||
FROM
|
||||
internal.website;
|
||||
|
||||
Reference in New Issue
Block a user