add roles

This commit is contained in:
guwandyk committed 2026-07-07 18:06:50 +05:00
1 parent 41471694d5
commit 4d1942d7fe
12 files changed
+450 -12

No files matched your search

+8
View File
@@ -94,3 +94,11 @@ CREATE TABLE IF NOT EXISTS loan_order_required_docs (
updated_at TIMESTAMP DEFAULT (CURRENT_TIMESTAMP AT TIME ZONE 'UTC') NOT NULL
);
CREATE TABLE IF NOT EXISTS roles (
id bigserial PRIMARY KEY,
code character varying(255) NOT NULL DEFAULT '',
name character varying(255) NOT NULL,
guard_name character varying(255) NOT NULL,
created_at TIMESTAMP DEFAULT (CURRENT_TIMESTAMP AT TIME ZONE 'UTC') NOT NULL,
updated_at TIMESTAMP DEFAULT (CURRENT_TIMESTAMP AT TIME ZONE 'UTC') NOT NULL
);