mirror of https://gitee.com/topiam/eiam
53 lines
2.7 KiB
XML
53 lines
2.7 KiB
XML
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
|
|
<!--
|
|
|
|
eiam-common - Employee Identity and Access Management Program
|
|
Copyright © 2020-2023 TopIAM (support@topiam.cn)
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
<databaseChangeLog
|
|
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.3.xsd
|
|
http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/pro/liquibase-pro-4.3.xsd">
|
|
<!--init-->
|
|
<changeSet author="TopIAM" id="1633761998060-0">
|
|
<createTable remarks="用户组" tableName="user_group">
|
|
<column name="id_" remarks="主键ID" type="BIGINT" autoIncrement="true">
|
|
<constraints nullable="false" primaryKey="true"/>
|
|
</column>
|
|
<column name="name_" remarks="用户组名称" type="VARCHAR(100)">
|
|
<constraints nullable="false" unique="true" uniqueConstraintName="user_group_name_uindex"/>
|
|
</column>
|
|
<column name="code_" remarks="用户组编码" type="VARCHAR(64)">
|
|
<constraints nullable="false" unique="true" uniqueConstraintName="user_group_code_uindex"/>
|
|
</column>
|
|
<column name="create_by" remarks="创建者" type="VARCHAR(64)">
|
|
<constraints nullable="false"/>
|
|
</column>
|
|
<column defaultValueComputed="CURRENT_TIMESTAMP" name="create_time" remarks="创建时间" type="datetime">
|
|
<constraints nullable="false"/>
|
|
</column>
|
|
<column name="update_by" remarks="修改者" type="VARCHAR(64)">
|
|
<constraints nullable="false"/>
|
|
</column>
|
|
<column defaultValueComputed="CURRENT_TIMESTAMP" name="update_time" remarks="修改时间" type="datetime">
|
|
<constraints nullable="false"/>
|
|
</column>
|
|
<column name="remark_" remarks="备注" type="TEXT"/>
|
|
</createTable>
|
|
</changeSet>
|
|
</databaseChangeLog> |