Skip to content

Commit 094aa60

Browse files
author
maxim-lixakov
committed
[DOP-21268] - update RTD config
1 parent 6824462 commit 094aa60

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ build:
1717
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry install --no-root --all-extras --with docs --without dev,test
1818
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry show -v
1919
- python -m pip list -v
20-
- SYNCMASTER__DATABASE__URL=postgresql+psycopg://fake:[email protected]:5432/fake SYNCMASTER__BROKER__URL=amqp://fake:faket@fake:5672/ SYNCMASTER__CRYPTO_KEY=crypto_key python -m syncmaster.backend.export_openapi_schema docs/_static/openapi.json
20+
- SYNCMASTER__DATABASE__URL=postgresql+psycopg://fake:[email protected]:5432/fake SYNCMASTER__BROKER__URL=amqp://fake:faket@fake:5672/ SYNCMASTER__CRYPTO_KEY=crypto_key SYNCMASTER__AUTH__ACCESS_TOKEN__SECRET_KEY=fakepython python -m syncmaster.backend.export_openapi_schema docs/_static/openapi.json
2121

2222
sphinx:
2323
configuration: docs/conf.py

syncmaster/db/migrations/versions/2023-11-23_0001_create_user_table.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def upgrade():
3232
sa.Column("updated_at", sa.DateTime(), server_default=sa.text("now()"), nullable=False),
3333
sa.Column("is_deleted", sa.Boolean(), nullable=False),
3434
sa.PrimaryKeyConstraint("id", name=op.f("pk__user")),
35+
sa.UniqueConstraint("email", name=op.f("uq__user__email")),
3536
)
3637
op.create_index(op.f("ix__user__username"), "user", ["username"], unique=True)
3738

0 commit comments

Comments
 (0)