/*ALIAS>prop_db*/

/*SQLStart>1790*/
ALTER TABLE DOCUMENTS ADD DOC_ORDERWAY INTEGER;
/*SQLStop*/

/*SQLStart>1791*/
CREATE TABLE ORDERWAY_KL (
    ORDERWAY_ID INTEGER NOT NULL,
    ORDERWAY_TEXT VARCHAR(240));
/*SQLStop*/

/*SQLStart>1792*/
alter table ORDERWAY_KL
add constraint PK_ORDERWAY_KL
primary key (ORDERWAY_ID);
/*SQLStop*/

/*SQLStart>1793*/
GRANT ALL ON ORDERWAY_KL TO PUBLIC;
/*SQLStop*/

/*ManyStart>1794*/
update system_strings set sys_str = '6.7.150.1' where sys_id = 1402;  /*Imot*/
update system_strings set sys_str = '2.1.16.27' where sys_id = 1401;      /*Kasa*/
update system_strings set sys_str = '2.1.1.1' where sys_id = 1403;      /*Incomes*/
update system_strings set sys_str = '6.1.9.26' where sys_id = 1404;      /*Rents*/
/*ManyStop*/
