Skip to content

Commit 2c1c2a3

Browse files
committed
changelog & refactor: #5236
1 parent 0f2dd9f commit 2c1c2a3

File tree

8 files changed

+8
-7
lines changed

8 files changed

+8
-7
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Apollo 2.4.0
1111
* [Fix: Resolve issues with duplicate comments and blank lines in configuration management](https://github.com/apolloconfig/apollo/pull/5232)
1212
* [Fix link namespace published items show missing some items](https://github.com/apolloconfig/apollo/pull/5240)
1313
* [Feature: Add limit and whitelist for namespace count per appid+cluster](https://github.com/apolloconfig/apollo/pull/5228)
14+
* [Feature support the observe status access-key for pre-check and logging only](https://github.com/apolloconfig/apollo/pull/5236)
1415

1516
------------------
1617
All issues and pull requests are [here](https://github.com/apolloconfig/apollo/milestone/15?closed=1)

scripts/sql/profiles/h2-default/apolloconfigdb.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ CREATE TABLE `AccessKey` (
393393
`Id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增主键',
394394
`AppId` varchar(64) NOT NULL DEFAULT 'default' COMMENT 'AppID',
395395
`Secret` varchar(128) NOT NULL DEFAULT '' COMMENT 'Secret',
396-
`Mode` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer',
396+
`Mode` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer',
397397
`IsEnabled` boolean NOT NULL DEFAULT FALSE COMMENT '1: enabled, 0: disabled',
398398
`IsDeleted` boolean NOT NULL DEFAULT FALSE COMMENT '1: deleted, 0: normal',
399399
`DeletedAt` BIGINT(20) NOT NULL DEFAULT '0' COMMENT 'Delete timestamp based on milliseconds',

scripts/sql/profiles/h2-default/delta/v230-v240/apolloconfigdb-v230-v240.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CREATE ALIAS IF NOT EXISTS UNIX_TIMESTAMP FOR "com.ctrip.framework.apollo.common
3131

3232
--
3333

34-
ALTER TABLE `AccessKey` ADD COLUMN `Mode` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer' AFTER `Secret`;
34+
ALTER TABLE `AccessKey` ADD COLUMN `Mode` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer' AFTER `Secret`;
3535

3636
--
3737
-- ===============================================================================

scripts/sql/profiles/mysql-database-not-specified/apolloconfigdb.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ CREATE TABLE `AccessKey` (
404404
`Id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增主键',
405405
`AppId` varchar(64) NOT NULL DEFAULT 'default' COMMENT 'AppID',
406406
`Secret` varchar(128) NOT NULL DEFAULT '' COMMENT 'Secret',
407-
`Mode` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer',
407+
`Mode` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer',
408408
`IsEnabled` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: enabled, 0: disabled',
409409
`IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
410410
`DeletedAt` BIGINT(20) NOT NULL DEFAULT '0' COMMENT 'Delete timestamp based on milliseconds',

scripts/sql/profiles/mysql-database-not-specified/delta/v230-v240/apolloconfigdb-v230-v240.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
--
2828

2929
ALTER TABLE `AccessKey`
30-
ADD COLUMN `Mode` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer' AFTER `Secret`;
30+
ADD COLUMN `Mode` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer' AFTER `Secret`;
3131

3232
--
3333
-- ===============================================================================

scripts/sql/profiles/mysql-default/apolloconfigdb.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ CREATE TABLE `AccessKey` (
409409
`Id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增主键',
410410
`AppId` varchar(64) NOT NULL DEFAULT 'default' COMMENT 'AppID',
411411
`Secret` varchar(128) NOT NULL DEFAULT '' COMMENT 'Secret',
412-
`Mode` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer',
412+
`Mode` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer',
413413
`IsEnabled` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: enabled, 0: disabled',
414414
`IsDeleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '1: deleted, 0: normal',
415415
`DeletedAt` BIGINT(20) NOT NULL DEFAULT '0' COMMENT 'Delete timestamp based on milliseconds',

scripts/sql/profiles/mysql-default/delta/v230-v240/apolloconfigdb-v230-v240.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
Use ApolloConfigDB;
3030

3131
ALTER TABLE `AccessKey`
32-
ADD COLUMN `Mode` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer' AFTER `Secret`;
32+
ADD COLUMN `Mode` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer' AFTER `Secret`;
3333

3434
--
3535
-- ===============================================================================

scripts/sql/src/delta/v230-v240/apolloconfigdb-v230-v240.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
-- ${gists.useDatabase}
2121

2222
ALTER TABLE `AccessKey`
23-
ADD COLUMN `Mode` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer' AFTER `Secret`;
23+
ADD COLUMN `Mode` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '密钥模式,0: filter,1: observer' AFTER `Secret`;
2424

2525
-- ${gists.autoGeneratedDeclaration}

0 commit comments

Comments
 (0)