diff options
author | Mario <mario@mariovavti.com> | 2021-05-07 12:15:00 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-07 12:15:00 +0000 |
commit | ebd0333256b8209de958085057848b649dbd9283 (patch) | |
tree | caced58589bce9ef71982cc9e3328c0a5bd31b80 /include/account.php | |
parent | 2ad6f6e11f1d9eb99b4e7fc36d0bf4a8313d4c3c (diff) | |
download | volse-hubzilla-ebd0333256b8209de958085057848b649dbd9283.tar.gz volse-hubzilla-ebd0333256b8209de958085057848b649dbd9283.tar.bz2 volse-hubzilla-ebd0333256b8209de958085057848b649dbd9283.zip |
register: postgres - add default values for timestamps
Diffstat (limited to 'include/account.php')
-rw-r--r-- | include/account.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/account.php b/include/account.php index cebcbd7e3..d138dab41 100644 --- a/include/account.php +++ b/include/account.php @@ -875,9 +875,9 @@ function verify_register_scheme() { . "reg_did2 text DEFAULT '' NOT NULL," . "reg_hash text DEFAULT '' NOT NULL," . "reg_email text DEFAULT '' NOT NULL," - . "reg_created timestamp NOT NULL," - . "reg_startup timestamp NOT NULL," - . "reg_expires timestamp NOT NULL," + . "reg_created timestamp NOT NULL DEFAULT '0001-01-01 00:00:00'," + . "reg_startup timestamp NOT NULL DEFAULT '0001-01-01 00:00:00'," + . "reg_expires timestamp NOT NULL DEFAULT '0001-01-01 00:00:00'," . "reg_byc bigint DEFAULT 0 NOT NULL," . "reg_uid bigint DEFAULT 0 NOT NULL," . "reg_atip text DEFAULT '' NOT NULL," |