bổ sung thêm các chức năng còn thiếu của appearance

This commit is contained in:
2026-07-02 18:48:00 +07:00
parent e91e607d14
commit 302785b60b
28 changed files with 1265 additions and 29 deletions
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<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 http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
<changeSet id="20260702184000-1" author="system">
<createTable tableName="sis_menu">
<column name="id" type="bigint">
<constraints primaryKey="true" nullable="false"/>
</column>
<column name="name" type="varchar(255)">
<constraints nullable="false"/>
</column>
<column name="location" type="varchar(100)"/>
<column name="created_by" type="varchar(50)">
<constraints nullable="false"/>
</column>
<column name="created_date" type="timestamp"/>
<column name="last_modified_by" type="varchar(50)"/>
<column name="last_modified_date" type="timestamp"/>
</createTable>
<createTable tableName="sis_menu_item">
<column name="id" type="bigint">
<constraints primaryKey="true" nullable="false"/>
</column>
<column name="menu_id" type="bigint">
<constraints nullable="false"/>
</column>
<column name="label" type="varchar(255)">
<constraints nullable="false"/>
</column>
<column name="url" type="varchar(500)"/>
<column name="parent_id" type="bigint"/>
<column name="display_order" type="integer"/>
<column name="created_by" type="varchar(50)">
<constraints nullable="false"/>
</column>
<column name="created_date" type="timestamp"/>
<column name="last_modified_by" type="varchar(50)"/>
<column name="last_modified_date" type="timestamp"/>
</createTable>
<addForeignKeyConstraint baseColumnNames="menu_id"
baseTableName="sis_menu_item"
constraintName="fk_menu_item_menu_id"
referencedColumnNames="id"
referencedTableName="sis_menu"/>
<addForeignKeyConstraint baseColumnNames="parent_id"
baseTableName="sis_menu_item"
constraintName="fk_menu_item_parent_id"
referencedColumnNames="id"
referencedTableName="sis_menu_item"/>
</changeSet>
</databaseChangeLog>
@@ -29,6 +29,7 @@
<include file="config/liquibase/changelog/20260702143000_add_media_entity.xml" relativeToChangelogFile="false"/>
<include file="config/liquibase/changelog/20260702144700_add_plugin_entity.xml" relativeToChangelogFile="false"/>
<include file="config/liquibase/changelog/20260702153000_add_setting_entity.xml" relativeToChangelogFile="false"/>
<include file="config/liquibase/changelog/20260702184000_add_menu_entity.xml" relativeToChangelogFile="false"/>
<!-- jhipster-needle-liquibase-add-changelog - JHipster will add liquibase changelogs here -->
<!-- jhipster-needle-liquibase-add-constraints-changelog - JHipster will add liquibase constraints changelogs here -->
<!-- jhipster-needle-liquibase-add-incremental-changelog - JHipster will add incremental liquibase changelogs here -->