update migration

This commit is contained in:
2025-01-15 14:05:43 +03:00
parent a2215b9363
commit 51d8f0822f
3 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ create table company (
constraint uq_company unique (clid, code)
);
CREATE TRIGGER zl_company before INSERT or UPDATE ON cm
CREATE TRIGGER zl_company before INSERT or UPDATE ON company
FOR EACH ROW EXECUTE FUNCTION zllog();
create table company_usr (
@@ -22,5 +22,5 @@ create table company_usr (
usr_id dmn_usrid,
constraint uq_company_usr unique (company_id, usr_id),
constraint fk_company_usr_company foreign key (company_id)
references cm(id) on update cascade on delete cascade
references company(id) on update cascade on delete cascade
);

View File

@@ -1 +1 @@
alter table cm add tmpl jsonb;
alter table company add tmpl jsonb;

View File

@@ -5,6 +5,7 @@ const prjI18n = {
app: 'Uygulamalar'
},
Company: {
ID: 'Şirket ID',
Code: 'Şirket Kod',
Title: 'Şirket Ad',
IsActive: 'Kullanımda',