提交 aad9f5d6 编写于 作者: sq3536's avatar sq3536

repair

上级 da5347ee
spring:
datasource:
username: root
password: root
url: jdbc:mysql://127.0.0.1:3306/a_A_5d9d78509?useUnicode=true&characterEncoding=utf8&useSSL=false&nullCatalogMeansCurrent=true
isSyncDBSchema: true
cloud:
nacos:
discovery:
server-addr: 127.0.0.1:8848
ibiz:
ref:
service:
lite: ibzlite
\ No newline at end of file
spring: spring:
profiles: profiles:
include: sys ,nacos, web-dev, api-dev, dev include: sys ,nacos, web-dev, api-dev, dev, boot
application: application:
name: ibzlite name: ibzlite
main: main:
......
...@@ -78,8 +78,10 @@ public class DstAppService extends DstAppServiceImpl ...@@ -78,8 +78,10 @@ public class DstAppService extends DstAppServiceImpl
} }
} }
sysPSSystem.set("ignoreSyncPermission",true); sysPSSystem.set("ignoreSyncPermission",true);
if(bchange) if(bchange) {
sysPSSystemService.update(sysPSSystem); sysPSSystemService.update(sysPSSystem);
liteModelService.resetApps();
}
} }
return true; return true;
} }
......
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.9.xsd">
<changeSet author="Think (generated)" id="1591012776347-1">
<createTable remarks="配置" tableName="IBZCFG">
<column name="CFGID" remarks="配置标识" type="VARCHAR(100)">
<constraints primaryKey="true"/>
</column>
<column name="SYSTEMID" remarks="系统标识" type="VARCHAR(100)"/>
<column name="CFGTYPE" remarks="配置类型" type="VARCHAR(100)"/>
<column name="TARGETTYPE" remarks="引用对象" type="VARCHAR(100)"/>
<column name="USERID" remarks="用户标识" type="VARCHAR(100)"/>
<column name="CFG" remarks="配置" type="MEDIUMTEXT"/>
<column name="UPDATEDATE" remarks="更新时间" type="datetime"/>
</createTable>
</changeSet>
</databaseChangeLog>
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-3.8.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd">
<changeSet author="mac (generated)" id="1602221967551-1">
<createTable tableName="IBZCOMPONENT">
<column name="CID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_DST_COMPONENT_CID"/>
</column>
<column name="CNAME" type="VARCHAR(100)"/>
<column name="CODENAME" type="VARCHAR(100)"/>
<column name="SYSTEMID" type="VARCHAR(100)"/>
<column name="APPID" type="VARCHAR(100)"/>
<column name="CTYPE" type="VARCHAR(100)"/>
<column name="ENTITYID" type="VARCHAR(100)"/>
<column name="CFG" type="CLOB"/>
</createTable>
</changeSet>
<changeSet author="mac (generated)" id="1602221967551-2">
<createTable tableName="IBZDATASET">
<column name="DATASETID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_META_DATASET_DATASETID"/>
</column>
<column name="DATASETNAME" type="VARCHAR(100)"/>
<column name="ENTITYID" type="VARCHAR(100)"/>
<column name="ENTITYNAME" type="VARCHAR(100)"/>
<column name="CODENAME" type="VARCHAR(100)"/>
<column name="DSCODE" type="CLOB"/>
<column name="DSMODEL" type="CLOB"/>
</createTable>
</changeSet>
<changeSet author="mac (generated)" id="1602221967551-3">
<createTable tableName="IBZDATASOURCE">
<column name="DSID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_DST_DATASOURCE_DSID"/>
</column>
<column name="DSNAME" type="VARCHAR(100)"/>
<column name="DSTYPE" type="VARCHAR(100)"/>
<column name="DSCFG" type="VARCHAR(4000)"/>
</createTable>
</changeSet>
<changeSet author="mac (generated)" id="1602221967551-4">
<createTable tableName="IBZENTITY">
<column name="ENTITYID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_META_ENTITY_ENTITYID"/>
</column>
<column name="ENTITYNAME" type="VARCHAR(100)"/>
<column name="LOGICNAME" type="VARCHAR(100)"/>
<column name="CODENAME" type="VARCHAR(100)"/>
<column name="TABLENAME" type="VARCHAR(100)"/>
<column name="SYSTEMID" type="VARCHAR(100)"/>
<column name="DSID" type="VARCHAR(100)"/>
</createTable>
</changeSet>
<changeSet author="mac (generated)" id="1602221967551-5">
<createTable tableName="IBZFIELD">
<column name="FIELDID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_META_FIELD_FIELDID"/>
</column>
<column name="FIELDNAME" type="VARCHAR(100)"/>
<column name="CODENAME" type="VARCHAR(100)"/>
<column name="ENTITYID" type="VARCHAR(100)"/>
<column name="ENTITYNAME" type="VARCHAR(100)"/>
<column name="FIELDLOGICNAME" type="VARCHAR(100)"/>
<column name="REFFIELDID" type="VARCHAR(100)"/>
<column name="REFFIELDNAME" type="VARCHAR(100)"/>
<column name="RELATIONID" type="VARCHAR(100)"/>
<column name="RELATIONNAME" type="VARCHAR(100)"/>
<column name="KEYFIELD" type="INT"/>
<column name="MAJORFIELD" type="INT"/>
<column name="UNIONKEY" type="VARCHAR(70)"/>
<column name="FIELDTYPE" type="VARCHAR(70)"/>
<column name="PREDEFINED" type="VARCHAR(70)"/>
<column name="DICT" type="VARCHAR(100)"/>
<column name="NULLABLE" type="INT"/>
<column name="PHYSICALFIELD" type="INT"/>
<column name="DATATYPE" type="VARCHAR(100)"/>
<column name="DATALENGTH" type="INT"/>
<column name="DATAPRECI" type="INT"/>
<column name="EXPRESSION" type="VARCHAR(2000)"/>
<column name="EXTENSIONFIELD" type="INT"/>
<column name="SHOWORDER" type="INT"/>
</createTable>
</changeSet>
<changeSet author="mac (generated)" id="1602221967551-6">
<createTable tableName="IBZMODEL">
<column name="MODELID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_META_MODEL_MODELID"/>
</column>
<column name="MODELNAME" type="VARCHAR(100)"/>
<column name="CODENAME" type="VARCHAR(100)"/>
<column name="MODELCFG" type="CLOB"/>
</createTable>
</changeSet>
<changeSet author="mac (generated)" id="1602221967551-7">
<preConditions onFail="MARK_RAN" >
<not>
<tableExists tableName="IBZPSSYSTEM" />
</not>
</preConditions>
<createTable tableName="IBZPSSYSTEM">
<column name="PSSYSTEMID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_DST_SYSTEM_PSSYSTEMID"/>
</column>
<column name="PSSYSTEMNAME" type="VARCHAR(100)"/>
<column name="SYSSTRUCTURE" type="CLOB"/>
<column name="APPS" type="CLOB"/>
<column name="MD5CHECK" type="VARCHAR(100)"/>
<column name="SHOWORDER" type="INT"/>
</createTable>
</changeSet>
<changeSet author="mac (generated)" id="1602221967551-8">
<createTable tableName="IBZRELATION">
<column name="RELATIONID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_META_RELATION_RELATIONID"/>
</column>
<column name="RELATIONNAME" type="VARCHAR(100)"/>
<column name="RELTYPE" type="VARCHAR(100)"/>
<column name="CODENAME" type="VARCHAR(100)"/>
<column name="ENTITYID" type="VARCHAR(100)"/>
<column name="ENTITYNAME" type="VARCHAR(100)"/>
<column name="REFENTITYID" type="VARCHAR(100)"/>
<column name="REFENTITYNAME" type="VARCHAR(100)"/>
<column name="NESTEDNAME" type="VARCHAR(100)"/>
<column name="LOOKUP" type="CLOB"/>
</createTable>
</changeSet>
<changeSet author="mac (generated)" id="1602221967551-9">
<createTable tableName="IBZROUTER">
<column name="ROUTERID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_DST_ROUTER_ROUTERID"/>
</column>
<column name="ROUTERNAME" type="VARCHAR(100)"/>
<column name="SYSTEMID" type="VARCHAR(100)"/>
<column name="APPID" type="VARCHAR(100)"/>
<column name="ROUTERPATH" type="VARCHAR(255)"/>
<column name="PARENTID" type="VARCHAR(100)"/>
<column name="META" type="CLOB"/>
<column name="COMPONENT" type="VARCHAR(2000)"/>
</createTable>
</changeSet>
<changeSet author="mac (generated)" id="1602221967551-10">
<createTable tableName="IBZVIEW">
<column name="VIEWID" type="VARCHAR(100)">
<constraints nullable="false" primaryKey="true" primaryKeyName="PK_DST_VIEW_VIEWID"/>
</column>
<column name="VIEWNAME" type="VARCHAR(100)"/>
<column name="VIEWPATH" type="VARCHAR(255)"/>
<column name="SYSTEMID" type="VARCHAR(100)"/>
<column name="APPID" type="VARCHAR(100)"/>
<column name="ENTITYID" type="VARCHAR(100)"/>
<column name="CFG" type="CLOB"/>
</createTable>
</changeSet>
</databaseChangeLog>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册