Commit 2e4bc2ac by ansible

no message

1 parent 65628894
-- domain
update wd_sys_config
set sys_value = 'https://wdchat.beebuddy.net'
where sys_group ='system' and sys_key = 'publish_url';
-- mqtt security
--update wd_sys_config
--set sys_value = 'mobilechat'
--where sys_group ='system' and sys_key = 'mqtt_username';
--update wd_sys_config
--set sys_value = 'BBKhGv6mUCuMRFWy'
--where sys_group ='system' and sys_key = 'mqtt_password';
-- password icm
--update wd_admin_user
--set password = 'tBte5MHFtEm+X2sk0vWRkA=='
--where username='wdchatsupport';
--update wd_admin_user
--set password = 'vP9+lL7ByjRBGATW6zVJvw=='
--where username='admin';
\ No newline at end of file
-- DROP SEQUENCE public.wd_user_id_seq;
CREATE SEQUENCE public.wd_user_id_seq
INCREMENT BY 1
MINVALUE 1
MAXVALUE 9223372036854775807
START 198;
CREATE TABLE public.wd_user (
username varchar(40) NULL,
password varchar(254) NULL,
id int4 NOT NULL DEFAULT nextval('wd_user_id_seq'::regclass),
CONSTRAINT wd_user_pk PRIMARY KEY (id),
CONSTRAINT wd_user_uni01 UNIQUE (username)
)
WITH (
OIDS=FALSE
) ;
-- add table
-- DROP SEQUENCE public.wd_admin_user_id_seq;
CREATE SEQUENCE public.wd_admin_user_id_seq
INCREMENT BY 1
MINVALUE 1
MAXVALUE 9223372036854775807
START 2;
CREATE TABLE public.wd_admin_user (
id int4 NOT NULL DEFAULT nextval('wd_admin_user_id_seq'::regclass),
username varchar(40) NULL,
password varchar(254) NULL,
CONSTRAINT wd_admin_user_pk PRIMARY KEY (id),
CONSTRAINT wd_admin_user_uni01 UNIQUE (username)
)
WITH (
OIDS=FALSE
) ;
\ No newline at end of file
-- initial wd_admin_user
INSERT INTO public.wd_admin_user
(id, username, password)
VALUES(1, 'admin', 't83wGVI91wWR4rY0Fz78UQ==');
--INSERT INTO public.wd_admin_user
--(id, username, password)
--VALUES(2, 'wdchatsupport', 'tBte5MHFtEn4y1kZpmr2NA==');
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!