mirror of
https://github.com/simple-login/app.git
synced 2024-11-14 08:01:13 +01:00
bec8cb2292
* Use the alias domain for contacts * Check there are not duplicate emails * Check also in trash * Use helper * Set VERP for the forward phase to the contact domain * Add pgp_fingerprint as index for contacts * Removed check trash * Only use reply domains for sl domains * Configure via db wether the domain can be used as a reverse_domain * Fix: typo * reverse logic * fix migration * fix test --------- Co-authored-by: Adrià Casajús <adria.casajus@proton.ch> Co-authored-by: Son <nguyenkims@users.noreply.github.com>
29 lines
739 B
Python
29 lines
739 B
Python
"""empty message
|
|
|
|
Revision ID: 01e2997e90d3
|
|
Revises: 893c0d18475f
|
|
Create Date: 2023-04-19 16:09:11.851588
|
|
|
|
"""
|
|
import sqlalchemy_utils
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '01e2997e90d3'
|
|
down_revision = '893c0d18475f'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('public_domain', sa.Column('use_as_reverse_alias', sa.Boolean(), server_default='0', nullable=False))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('public_domain', 'use_as_reverse_alias')
|
|
# ### end Alembic commands ###
|