Skip to content

Commit

Permalink
📊 alembic updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jiisanda committed Dec 30, 2023
1 parent a063c51 commit 00772cc
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.git
.idea/
downloads
app/migrations
migrations
README.md
docker-compose.yml
app/.env
Expand Down
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions app/migrations/env.py → migrations/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@

from alembic import context

from db.models import Base
from app.db.models import Base

from app.core.config import settings


# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
config = context.config
Expand All @@ -22,7 +21,7 @@

# add your model's MetaData object here
# for 'autogenerate' support
from db.tables.documents.document_sharing import DocumentSharing
from app.db.tables.documents.document_sharing import DocumentSharing

target_metadata = Base.metadata

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 00772cc

Please sign in to comment.