Various fixes

Fix OAuth and Realtime issues introduced in 9a515b9234

[DATABASE] Fix an empty default value mistake introduced in
fde929b151

[DATABASE][PostgreSQL] Avoid use of pg_constraint.consrc, which was removed in
PostgreSQL 12.

[DATABASE][MariaDB] Fix a typo introduced in aed2344bd4

[DAEMON] Wrap an assignment inside "switch":
a follow-up to adc689cb15
This commit is contained in:
Alexei Sorokin
2020-10-11 18:29:47 +03:00
committed by Diogo Peralta Cordeiro
parent a67953b840
commit ebfc248ff6
8 changed files with 10 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ class Email_summary_status extends Managed_DataObject
public $send_summary; // bool not_null default_true
public $last_summary_id; // int(4) null
public $created; // datetime not_null
public $modified; // datetime not_null
public $modified; // timestamp not_null
public static function schemaDef()
{

View File

@@ -41,7 +41,7 @@ class User_poll_prefs extends Managed_DataObject
public $user_id; // int id
public $hide_responses; // bool
public $created; // datetime
public $modified; // datetime
public $modified; // timestamp
/**
* The One True Thingy that must be defined and declared.