Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
url-checker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
url-checker
Commits
df2aed92
Commit
df2aed92
authored
Dec 09, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment about date format
parent
43d944f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
urlchecker_db.py
urlchecker_db.py
+2
-0
No files found.
urlchecker_db.py
View file @
df2aed92
...
@@ -18,6 +18,8 @@ class LogDB:
...
@@ -18,6 +18,8 @@ class LogDB:
# All other tables point to it to be able to group some info
# All other tables point to it to be able to group some info
class
Status
(
BaseModel
):
class
Status
(
BaseModel
):
text
=
peewee
.
TextField
()
text
=
peewee
.
TextField
()
# date is in UTC
# https://www.sqlite.org/lang_datefunc.html
timestamp
=
peewee
.
TimestampField
(
timestamp
=
peewee
.
TimestampField
(
constraints
=
[
peewee
.
SQL
(
"DEFAULT now"
)]
constraints
=
[
peewee
.
SQL
(
"DEFAULT now"
)]
)
)
...
...
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