mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 07:59:20 +00:00
Replace DATE by TIMESTAMP in main-db for db
This commit is contained in:
parent
56fa68ee4f
commit
72c20adc17
1 changed files with 4 additions and 4 deletions
|
|
@ -912,7 +912,7 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
|
|||
"CREATE TABLE IF NOT EXISTS event ("
|
||||
" id" + primaryKeyStr("BIGINT UNSIGNED") + ","
|
||||
" type TINYINT UNSIGNED NOT NULL,"
|
||||
" creation_time DATE NOT NULL"
|
||||
" creation_time TIMESTAMP NOT NULL"
|
||||
") " + charset;
|
||||
|
||||
*session <<
|
||||
|
|
@ -925,10 +925,10 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
|
|||
" local_sip_address_id" + primaryKeyRefStr("BIGINT UNSIGNED") + " NOT NULL,"
|
||||
|
||||
// Dialog creation time.
|
||||
" creation_time DATE NOT NULL,"
|
||||
" creation_time TIMESTAMP NOT NULL,"
|
||||
|
||||
// Last event time (call, message...).
|
||||
" last_update_time DATE NOT NULL,"
|
||||
" last_update_time TIMESTAMP NOT NULL,"
|
||||
|
||||
// ConferenceChatRoom, BasicChatRoom, RTT...
|
||||
" capabilities TINYINT UNSIGNED NOT NULL,"
|
||||
|
|
@ -1055,7 +1055,7 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
|
|||
" from_sip_address_id" + primaryKeyRefStr("BIGINT UNSIGNED") + " NOT NULL,"
|
||||
" to_sip_address_id" + primaryKeyRefStr("BIGINT UNSIGNED") + " NOT NULL,"
|
||||
|
||||
" time DATE,"
|
||||
" time TIMESTAMP,"
|
||||
|
||||
// See: https://tools.ietf.org/html/rfc5438#section-6.3
|
||||
" imdn_message_id VARCHAR(255) NOT NULL,"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue