Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
64091722
Commit
64091722
authored
Nov 12, 2020
by
Robert Czechowski
Committed by
Robert Czechowski
Jan 05, 2021
Browse files
Migrate databases: Set all account creation dates to now()
parent
19c7c23b
Changes
2
Hide whitespace changes
Inline
Side-by-side
migrations/postgres/0003_update_session_set_empty_account_created.sql
0 → 100644
View file @
64091722
UPDATE
session
SET
account_created
=
NOW
()
WHERE
account_created
IS
NULL
;
migrations/sqlite_v2/0003_update_session_set_empty_account_created.sql
0 → 100644
View file @
64091722
UPDATE
session
SET
account_created
=
strftime
(
'%Y-%m-%dT%H:%M:%fZ'
,
'now'
)
WHERE
account_created
IS
NULL
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment