summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhangshuai <[email protected]>2024-08-12 15:22:55 +0800
committerzhangshuai <[email protected]>2024-08-12 15:22:55 +0800
commit58b38fbe91937c897a70baadc11e67cbd0f32b26 (patch)
tree05173f7d1ac8ef5ee2f41253c86631cefb470f39
parent582856c066f3155ce242d5acacb0298c45f9a50c (diff)
fix: 调整 application developer 为 provider
-rw-r--r--src/main/java/net/geedge/asw/module/app/entity/ApplicationEntity.java2
-rw-r--r--src/main/java/net/geedge/asw/module/app/entity/ApplicationLogEntity.java2
-rw-r--r--src/main/resources/db/mapper/app/ApplicationMapper.xml2
-rw-r--r--src/main/resources/db/migration/V1.0.01__INIT_TABLES.sql4
4 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/net/geedge/asw/module/app/entity/ApplicationEntity.java b/src/main/java/net/geedge/asw/module/app/entity/ApplicationEntity.java
index 5815104..217dda5 100644
--- a/src/main/java/net/geedge/asw/module/app/entity/ApplicationEntity.java
+++ b/src/main/java/net/geedge/asw/module/app/entity/ApplicationEntity.java
@@ -20,7 +20,7 @@ public class ApplicationEntity {
private String surrogates;
private String packageName;
private String website;
- private String developer;
+ private String provider;
private Long createTimestamp;
private Long updateTimestamp;
diff --git a/src/main/java/net/geedge/asw/module/app/entity/ApplicationLogEntity.java b/src/main/java/net/geedge/asw/module/app/entity/ApplicationLogEntity.java
index 6d41f95..6718169 100644
--- a/src/main/java/net/geedge/asw/module/app/entity/ApplicationLogEntity.java
+++ b/src/main/java/net/geedge/asw/module/app/entity/ApplicationLogEntity.java
@@ -15,7 +15,7 @@ public class ApplicationLogEntity {
private String surrogates;
private String packageName;
private String website;
- private String developer;
+ private String provider;
private Long createTimestamp;
private Long updateTimestamp;
diff --git a/src/main/resources/db/mapper/app/ApplicationMapper.xml b/src/main/resources/db/mapper/app/ApplicationMapper.xml
index f28f842..ad9ad2a 100644
--- a/src/main/resources/db/mapper/app/ApplicationMapper.xml
+++ b/src/main/resources/db/mapper/app/ApplicationMapper.xml
@@ -10,7 +10,7 @@
<result property="description" column="description"/>
<result property="packageName" column="package_name"/>
<result property="website" column="website"/>
- <result property="developer" column="developer"/>
+ <result property="provider" column="provider"/>
<result property="surrogates" column="surrogates"/>
<result property="createTimestamp" column="create_timestamp"/>
<result property="updateTimestamp" column="update_timestamp"/>
diff --git a/src/main/resources/db/migration/V1.0.01__INIT_TABLES.sql b/src/main/resources/db/migration/V1.0.01__INIT_TABLES.sql
index ac15669..64094be 100644
--- a/src/main/resources/db/migration/V1.0.01__INIT_TABLES.sql
+++ b/src/main/resources/db/migration/V1.0.01__INIT_TABLES.sql
@@ -248,7 +248,7 @@ CREATE TABLE `application` (
`properties` text NOT NULL DEFAULT '' COMMENT '应用数据',
`package_name` VARCHAR(512) NOT NULL DEFAULT '' COMMENT '包名',
`website` VARCHAR(1024) NOT NULL DEFAULT '' COMMENT '网站',
- `developer` VARCHAR(256) NOT NULL DEFAULT '' COMMENT '开发者',
+ `provider` VARCHAR(256) NOT NULL DEFAULT '' COMMENT '开发者',
`description` text NOT NULL DEFAULT '' COMMENT '描述信息',
`surrogates` text NOT NULL DEFAULT '' COMMENT '',
`create_timestamp` bigint(20) NOT NULL COMMENT '创建时间戳',
@@ -275,7 +275,7 @@ CREATE TABLE `application_log` (
`properties` text NOT NULL DEFAULT '' COMMENT '应用数据',
`package_name` VARCHAR(512) NOT NULL DEFAULT '' COMMENT '包名',
`website` VARCHAR(1024) NOT NULL DEFAULT '' COMMENT '网站',
- `developer` VARCHAR(256) NOT NULL DEFAULT '' COMMENT '开发者',
+ `provider` VARCHAR(256) NOT NULL DEFAULT '' COMMENT '开发者',
`description` text NOT NULL DEFAULT '' COMMENT '描述信息',
`surrogates` text NOT NULL DEFAULT '' COMMENT '',
`create_timestamp` bigint(20) NOT NULL COMMENT '创建时间戳',