add docker, deploy

This commit is contained in:
Alex Bezdieniezhnykh
2024-11-14 16:12:06 +02:00
parent 4445fcd673
commit 2244edd2ed
15 changed files with 215 additions and 29 deletions
+13
View File
@@ -0,0 +1,13 @@
-- users table
drop table users;
create table users
(
id uuid primary key,
email varchar(160) not null,
password_hash varchar(255) not null,
hardware_id varchar(120) null,
role varchar(20) not null
);
grant select, insert, update, delete on public.users to azaion_admin;
grant select on table public.users to azaion_reader;