File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,13 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
5
5
6
6
## [ Unreleased]
7
7
### Notes
8
- - [ :ledger : View file changes] [ Unreleased ]
8
+ - [ :ledger : View file changes] [ Unreleased ] ∙ [ : page_with_curl : DB migration script ] [ unreleased-sql-migration ]
9
9
### Added
10
10
### Changed
11
11
### Deprecated
12
12
### Removed
13
13
### Fixed
14
+ - ` message.edit_date ` is now of type ` timestamp ` .
14
15
### Security
15
16
16
17
## [ 0.71.0] - 2021-03-05
@@ -501,6 +502,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
501
502
### Deprecated
502
503
- Move ` hideKeyboard ` to ` removeKeyboard ` .
503
504
505
+ [ unreleased-sql-migration ] : https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.71.0-unreleased.sql
504
506
[ 0.70.0-sql-migration ] : https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.64.0-0.70.0.sql
505
507
[ 0.70.0-bc-minimum-php-73 ] : https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#minimum-php-73
506
508
[ 0.63.0-sql-migration ] : https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.62.0-0.63.0.sql
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ CREATE TABLE IF NOT EXISTS `message` (
82
82
` reply_to_chat` bigint NULL DEFAULT NULL COMMENT ' Unique chat identifier' ,
83
83
` reply_to_message` bigint UNSIGNED DEFAULT NULL COMMENT ' Message that this message is reply to' ,
84
84
` via_bot` bigint NULL DEFAULT NULL COMMENT ' Optional. Bot through which the message was sent' ,
85
- ` edit_date` bigint UNSIGNED DEFAULT NULL COMMENT ' Date the message was last edited in Unix time' ,
85
+ ` edit_date` timestamp NULL DEFAULT NULL COMMENT ' Date the message was last edited in Unix time' ,
86
86
` media_group_id` TEXT COMMENT ' The unique identifier of a media message group this message belongs to' ,
87
87
` author_signature` TEXT COMMENT ' Signature of the post author for messages in channels' ,
88
88
` text` TEXT COMMENT ' For text messages, the actual UTF-8 text of the message max message length 4096 char utf8mb4' ,
Original file line number Diff line number Diff line change
1
+ ALTER TABLE ` message` MODIFY ` edit_date` timestamp NULL DEFAULT NULL COMMENT ' Date the message was last edited in Unix time' ;
You can’t perform that action at this time.
0 commit comments