general cleanup
This commit is contained in:
@@ -228,6 +228,66 @@ merms_panel=# select product_id,description from products;
|
||||
A000005 | Get Open EMR for practice management
|
||||
(5 rows)
|
||||
|
||||
CREATE TABLE products_templates (
|
||||
id SERIAL,
|
||||
uid uuid DEFAULT uuid_generate_v4(),
|
||||
product_id VARCHAR(25) REFERENCES products(product_id),
|
||||
name VARCHAR(55) UNIQUE NOT NULL,
|
||||
status INT DEFAULT 0,
|
||||
owner_uid VARCHAR(100),
|
||||
provision_name VARCHAR(250),
|
||||
added timestamp without time zone DEFAULT now()
|
||||
);
|
||||
ALTER TABLE ONLY products_templates
|
||||
ADD CONSTRAINT products_templates_id_key UNIQUE (id);
|
||||
|
||||
ALTER TABLE products_templates OWNER TO merms_panel;
|
||||
|
||||
|
||||
INSERT INTO products_templates(product_id,name,provision_name,status)
|
||||
VALUES(
|
||||
'A000001',
|
||||
'Template A01',
|
||||
'registry.chiefsoft.com/pweb/pweb-01-merms-pweb0004:latest',
|
||||
1);
|
||||
|
||||
INSERT INTO products_templates(product_id,name,provision_name,status)
|
||||
VALUES(
|
||||
'A000001',
|
||||
'Template A02',
|
||||
'registry.chiefsoft.com/pweb/pweb-01-merms-pweb0005:latest',
|
||||
1);
|
||||
|
||||
INSERT INTO products_templates(product_id,name,provision_name,status)
|
||||
VALUES(
|
||||
'A000001',
|
||||
'Template A03',
|
||||
'registry.chiefsoft.com/pweb/pweb-01-merms-pweb0006:latest',
|
||||
1);
|
||||
|
||||
|
||||
INSERT INTO products_templates(product_id,name,provision_name,status)
|
||||
VALUES(
|
||||
'A000002',
|
||||
'Practice B01',
|
||||
'registry.chiefsoft.com/pweb/pweb-01-merms-pweb0007:latest',
|
||||
1
|
||||
);
|
||||
|
||||
INSERT INTO products_templates(product_id,name,provision_name,status)
|
||||
VALUES(
|
||||
'A000002',
|
||||
'Practice B02',
|
||||
'registry.chiefsoft.com/pweb/pweb-01-merms-pweb0008:latest',
|
||||
1
|
||||
);
|
||||
|
||||
INSERT INTO products_templates(product_id,name,provision_name,status)
|
||||
VALUES(
|
||||
'A000002',
|
||||
'',
|
||||
''
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE members_products (
|
||||
|
||||
Reference in New Issue
Block a user