Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8394950
0004_usermailmap.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
0004_usermailmap.py
View Options
# Copyright (C) 2022 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU Affero General Public License version 3, or any later version
# See top-level LICENSE file for more information
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
"swh_web_auth"
,
"0003_delete_oidcuser"
),
]
operations
=
[
migrations
.
CreateModel
(
name
=
"UserMailmap"
,
fields
=
[
(
"id"
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
"ID"
,
),
),
(
"user_id"
,
models
.
CharField
(
max_length
=
50
,
null
=
True
)),
(
"from_email"
,
models
.
TextField
(
unique
=
True
,
null
=
False
)),
(
"from_email_verified"
,
models
.
BooleanField
(
default
=
False
)),
(
"from_email_verification_request_date"
,
models
.
DateTimeField
(
null
=
True
),
),
(
"display_name"
,
models
.
TextField
(
null
=
False
)),
(
"display_name_activated"
,
models
.
BooleanField
(
default
=
False
)),
(
"to_email"
,
models
.
TextField
(
null
=
True
)),
(
"to_email_verified"
,
models
.
BooleanField
(
default
=
False
)),
(
"to_email_verification_request_date"
,
models
.
DateTimeField
(
null
=
True
)),
(
"mailmap_last_processing_date"
,
models
.
DateTimeField
(
null
=
True
)),
(
"last_update_date"
,
models
.
DateTimeField
(
auto_now
=
True
)),
],
options
=
{
"db_table"
:
"user_mailmap"
,},
),
]
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Jun 4 2025, 7:31 PM (9 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3240969
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment