Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
b97583e
fix: update page history bug
lu-yg Dec 26, 2024
d30877c
fix: format code and fix style issue
lu-yg Jan 7, 2025
33316bf
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Jan 7, 2025
7fc6507
fix: modify page histiry entity
lu-yg Jan 7, 2025
64be7b4
Merge branch 'opentiny:develop' into develop
lu-yg Jan 9, 2025
24474b8
feat: add code submission rules
lu-yg Jan 9, 2025
9745b66
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Jan 9, 2025
239c624
Merge branch 'opentiny:develop' into develop
lu-yg Jan 9, 2025
b77f2f4
fix: modify app schema for test
lu-yg Jan 9, 2025
feeb8f7
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Jan 9, 2025
7d52937
fix: modify block group
lu-yg Jan 22, 2025
6559bec
fix: modify t_i18n_entry u_idx_i18n_entity
lu-yg Jan 22, 2025
2a7fc44
Merge branch 'opentiny:develop' into develop
lu-yg Jan 22, 2025
656a4a1
fix: modify t_i18n_entry u_idx_i18n_entity
lu-yg Jan 22, 2025
9de10c5
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Jan 22, 2025
e9aa592
fix: modify block update api
lu-yg Jan 23, 2025
aff95bb
Merge branch 'opentiny:develop' into develop
lu-yg Jan 23, 2025
02607e4
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Jan 23, 2025
ed7483d
fix: Modify code format
lu-yg Jan 23, 2025
48267d6
fix: Modify code format
lu-yg Jan 23, 2025
cabb309
fix: Modify code format
lu-yg Jan 23, 2025
83cb48a
fix: Modify code format
lu-yg Jan 24, 2025
486944b
fix: Modify code format
lu-yg Jan 24, 2025
751f331
Merge branch 'opentiny:develop' into develop
lu-yg Jan 26, 2025
48645e1
fix: modify block group api
lu-yg Jan 26, 2025
d2f2406
fix: modify block group mapper
lu-yg Jan 26, 2025
e24d0ec
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Jan 26, 2025
ee8219f
fix: modify workflows
lu-yg Jan 26, 2025
efad29b
fix: Update checkstyle.yml
lu-yg Jan 26, 2025
6868add
fix: modify workflows
lu-yg Jan 26, 2025
2e131ff
fix: Modify block create and update api
lu-yg Jan 27, 2025
9c1225a
Merge branch 'opentiny:develop' into develop
lu-yg Jan 27, 2025
8cc8ca5
fix: Modify code format
lu-yg Jan 27, 2025
4ba0818
fix: Modify code format
lu-yg Jan 27, 2025
6d978f1
fix: Modify block group
lu-yg Feb 6, 2025
b3f35a0
fix: Modify block group
lu-yg Feb 6, 2025
9717200
fix: Modify block group
lu-yg Feb 6, 2025
e757b29
fix: Modify block group
lu-yg Feb 6, 2025
7d90c86
fix: Modify block group api
lu-yg Feb 13, 2025
d6856ba
Merge branch 'opentiny:develop' into develop
lu-yg Feb 13, 2025
8a89475
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Feb 13, 2025
baa4eeb
fix: Modify block group api
lu-yg Feb 13, 2025
654da8b
fix: Modify block group api
lu-yg Feb 13, 2025
a230c24
feat: add code check
lu-yg Feb 27, 2025
6966946
Merge branch 'opentiny:develop' into develop
lu-yg Feb 27, 2025
d503c96
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Feb 27, 2025
7f9b378
feat: add code check
lu-yg Feb 27, 2025
2bdf54c
feat: add code check
lu-yg Feb 27, 2025
bef4adc
Merge branch 'opentiny:develop' into develop
lu-yg Feb 28, 2025
88dec60
feat: add code check
lu-yg Feb 28, 2025
63efa3c
Merge branch 'opentiny:develop' into develop
lu-yg Feb 28, 2025
f05a3ef
fix: Fix code check
lu-yg Feb 28, 2025
dbc910c
Merge branch 'opentiny:develop' into develop
lu-yg Mar 6, 2025
8a4041c
fix: Cross domain configuration
lu-yg Mar 6, 2025
57fd35a
fix: Cross domain configuration
lu-yg Mar 6, 2025
bff62cc
fix: i18n file upload
lu-yg Mar 7, 2025
ededae7
fix: i18n file upload
lu-yg Mar 7, 2025
1fa284b
Merge branch 'opentiny:develop' into develop
lu-yg Mar 20, 2025
7f17fb7
fix: page update api
lu-yg Mar 20, 2025
934130f
fix: page update api
lu-yg Mar 20, 2025
a920283
feat: material history api
lu-yg Apr 1, 2025
b1e0f83
feat: component library api
lu-yg Apr 2, 2025
5d244ba
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Apr 2, 2025
05f4473
feat: component library api
lu-yg Apr 7, 2025
58ed56b
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Apr 7, 2025
6a5269d
feat: component library api
lu-yg Apr 7, 2025
2f31f88
feat: component library api
lu-yg Apr 7, 2025
9ee1ef1
feat: component library api
lu-yg Apr 7, 2025
59c6ddc
feat: component library api
lu-yg Apr 7, 2025
8373484
feat: component library api
lu-yg Apr 7, 2025
fb123c6
feat: component library api
lu-yg Apr 7, 2025
0875559
feat: component library api
lu-yg Apr 7, 2025
4082626
fix: Mock data is changed to be obtained from loginUserContext
lu-yg Apr 7, 2025
b70579e
Merge branch 'opentiny:develop' into develop
lu-yg Apr 7, 2025
a25abab
Merge branch 'opentiny:develop' into develop
lu-yg Apr 10, 2025
72539c5
fix: Component library mapper
lu-yg Apr 10, 2025
a98b503
fix:Update t_component index
lu-yg Apr 11, 2025
9c82702
Merge branch 'opentiny:develop' into develop
lu-yg Apr 11, 2025
e1e1ef4
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Apr 11, 2025
8005656
fix:Update t_component index
lu-yg Apr 11, 2025
898e66d
Merge branch 'opentiny:develop' into develop
lu-yg Apr 16, 2025
3c66527
fix: Component and component library mapper
lu-yg Apr 16, 2025
267f667
fix: App v1 service
lu-yg Apr 16, 2025
75f0be1
fix: App v1 service
lu-yg Apr 16, 2025
40e6829
Merge branch 'opentiny:develop' into develop
lu-yg Apr 17, 2025
e7071e7
fix: Modify code format
lu-yg Apr 17, 2025
9a4e612
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Apr 17, 2025
0993e94
Merge branch 'opentiny:develop' into develop
lu-yg Apr 21, 2025
7d88f1c
fix: Modify mapper
lu-yg Apr 21, 2025
2265f07
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Apr 21, 2025
c35445f
Merge branch 'opentiny:develop' into develop
lu-yg Apr 23, 2025
cabc129
fix: Modify bundle split
lu-yg Apr 23, 2025
958c7b6
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg Apr 23, 2025
7e33a5d
Merge branch 'opentiny:develop' into develop
lu-yg Apr 27, 2025
2c60fa1
fix: format code and fix style issue
lu-yg Apr 27, 2025
e7e4be5
Merge branch 'opentiny:develop' into develop
lu-yg Apr 27, 2025
1a380b6
fix: fix getSchemaComponentsTree function bug
lu-yg Apr 30, 2025
15c6e8f
fix: Fix folder hierarchy restrictions and add AI models
lu-yg May 7, 2025
4ab18bd
Merge branch 'opentiny:develop' into develop
lu-yg May 8, 2025
243d8f9
fix: block lock issue
lu-yg May 8, 2025
818986d
Merge branch 'opentiny:develop' into develop
lu-yg May 9, 2025
b98e193
fead: platform API
lu-yg May 9, 2025
4ac65e2
feat: platform API
lu-yg May 9, 2025
16ad90d
Merge branch 'develop' of github.com:lu-yg/tiny-engine-backend-java i…
lu-yg May 13, 2025
7f875ce
feat: platform API
lu-yg May 13, 2025
091ed5e
feat: Add inspection file
lu-yg May 13, 2025
3438b96
feat: Add inspection file
lu-yg May 13, 2025
68b329a
feat: Add inspection file
lu-yg May 13, 2025
37e06a9
feat: Add inspection file
lu-yg May 13, 2025
2df5550
feat: Add inspection file
lu-yg May 13, 2025
c679a28
Merge branch 'opentiny:develop' into develop
lu-yg May 14, 2025
a20073b
fix: Modify the default values of table fields and page API
lu-yg May 14, 2025
0e44141
fix: Modify the default values of table fields and page API
lu-yg May 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions app/src/main/resources/sql/h2/create_all_tables_ddl_v1.h2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ create table `t_platform`
`theme_id` int comment '生态扩展使用,关联主题',
`platform_url` varchar(255) comment '设计器静态资源托管地址url',
`vscode_url` varchar(255) comment '设计预留字段',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand All @@ -43,13 +43,13 @@ create table `t_platform_history`
`name` varchar(255) not null comment '名称',
`publish_url` varchar(255) comment '设计器静态资源托管地址',
`description` varchar(2000) comment '描述',
`vscode_url` varchar(255) comment '设计预留字段',
`vscode_url` varchar(255) comment '设计预留字段',
`material_history_id` int not null comment '关联物料包历史id',
`sub_count` int comment '设计预留字段',
`material_pkg_name` varchar(255) comment '物料包名称',
`material_version` varchar(255) comment '物料包版本',
`image_url` varchar(255) comment '封面图地址',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -99,7 +99,7 @@ create table `t_app`
`data_hash` varchar(255) comment '应用内容哈希值',
`can_associate` tinyint(1) comment '设计预留字段',
`data_source_global` longtext comment '数据源全局配置',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand All @@ -120,7 +120,7 @@ create table `t_app_extension`
`content` longtext not null comment '内容',
`app_id` int not null comment '关联appid',
`category` varchar(255) not null comment '分类:utils,bridge',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand All @@ -140,7 +140,7 @@ create table `t_block_group`
`description` varchar(2000) comment '描述',
`app_id` int not null comment '关联app id',
`platform_id` int not null comment '设计器id',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand All @@ -158,7 +158,7 @@ create table `t_business_category`
`id` int not null auto_increment comment '主键id',
`code` varchar(255) not null comment '编码',
`name` varchar(255) not null comment '名称',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -198,7 +198,7 @@ create table `t_block`
`platform_id` int not null comment '设计器id',
`app_id` int not null comment '创建区块时所在appid',
`content_blocks` longtext comment '设计预留字段',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -237,7 +237,7 @@ create table `t_block_history`
`npm_name` varchar(255) comment 'npm包名',
`i18n` longtext NULL COMMENT '国际化',
`content_blocks` longtext comment '设计预留字段',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -273,7 +273,7 @@ create table `t_material`
`tgz_url` varchar(255) comment '物料包存储地址',
`unzip_tgz_root_path_url` longtext comment '物料包存储根路径',
`unzip_tgz_files` longtext comment '物料包存储文件',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -303,7 +303,7 @@ create table `t_material_history`
`tgz_url` varchar(255) comment '物料包存储地址',
`unzip_tgz_root_path_url` longtext comment '物料包存储根路径',
`unzip_tgz_files` longtext comment '物料包存储文件',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -333,7 +333,7 @@ create table `t_page`
`content_blocks` longtext comment '设计预留字段',
`latest_version` varchar(255) comment '当前历史记录表最新版本',
`latest_history_id` int comment '当前历史记录表id',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -364,7 +364,7 @@ create table `t_page_history`
`message` varchar(255) comment '历史记录消息描述',
`is_home` tinyint(1) not null default 0 comment '是否首页',
`content_blocks` longtext comment '设计预留字段',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`is_published` tinyint(1) not null comment '是否发布',
Expand All @@ -391,7 +391,7 @@ create table `t_page_template`
`image_url` longtext comment '封面图地址',
`description` varchar(2000) comment '描述',
`platform_id` int not null comment '设计器id',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -430,7 +430,7 @@ create table `t_component`
`tiny_reserved` tinyint(1) comment '是否是tiny自有',
`component_metadata` longtext comment '属性信息',
`library_id` int comment '设计预留字段',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -501,7 +501,7 @@ create table `t_i18n_entry`
`host_id` int not null comment '关联的hostid: appid或blockid',
`host_type` varchar(255) not null comment 'app或者block',
`lang_id` int comment '关联语言id',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -538,7 +538,7 @@ create table `t_datasource`
`app_id` int comment '关联appId',
`platform_id` int comment '关联设计器id',
`description` varchar(2000) comment '描述',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand All @@ -564,7 +564,7 @@ create table `t_task_record`
`ratio` int comment '无用字段',
`progress_percent` int comment '构建进度百分比数',
`indicator` longtext comment '构建指标',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -602,7 +602,7 @@ create table `t_user`
`enable` tinyint(1) comment '账号是否可用',
`is_admin` tinyint(1) comment '是否管理员',
`is_public` tinyint(1) comment '是否公共账号',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand All @@ -619,10 +619,10 @@ create table `t_block_carriers_relation`
(
`id` int not null auto_increment comment '主键id',
`block_id` int not null comment '区块id',
`host_id` int not null comment '类型id',
`host_id` int not null comment '类型id',
`host_type` varchar(60) comment '类型:blockGroup,materialHistory',
`version` varchar(60) not null comment '区块当前使用版本',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down Expand Up @@ -665,7 +665,7 @@ create table `t_component_library`
`is_started` tinyint(1) comment '是否启用',
`is_official` tinyint(1) comment '是否是官方',
`is_default` tinyint(1) comment '是否是默认',
`tenant_id` varchar(60) not null comment '租户id',
`tenant_id` varchar(60) comment '租户id',
`renter_id` varchar(60) comment '业务租户id',
`site_id` varchar(60) comment '站点id,设计预留字段',
`created_by` varchar(60) not null comment '创建人',
Expand Down
23 changes: 22 additions & 1 deletion app/src/main/resources/sql/h2/update_all_tables_ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,25 @@ ALTER TABLE t_datasource DROP INDEX u_idx_datasource;
ALTER TABLE t_datasource ADD INDEX u_idx_datasource (`tenant_id`, `platform_id`, `name`, `app_id`);

ALTER TABLE t_platform_history MODIFY sub_count int NULL;
ALTER TABLE t_platform_history MODIFY publish_url varchar(255) NULL;
ALTER TABLE t_platform_history MODIFY publish_url varchar(255) NULL;

ALTER TABLE t_app MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_app_extension MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_block MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_block_carriers_relation MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_block_group MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_block_history MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_business_category MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_component MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_component_library MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_datasource MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_i18n_entry MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_material MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_material_history MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_page MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_page_history MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_page_template MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_platform MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_platform_history MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_task_record MODIFY tenant_id varchar(60) NULL;
ALTER TABLE t_user MODIFY tenant_id varchar(60) NULL;
Loading
Loading