Skip to content

Commit

Permalink
Create migration folder for alembic configuration and versions, add a…
Browse files Browse the repository at this point in the history
…lembic_helpers for postgis extension
  • Loading branch information
Maksymilian-Plywaczyk committed Nov 24, 2023
1 parent a76eb28 commit 629e95f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/migrations/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@
fileConfig(config.config_file_name)

from src.api.databases import Base
from src.api.models import (
City,
Country,
Image,
Route,
RoutePoint,
RoutePointRestriction,
UserFavourite,
)
from src.auth.models import User

# add your model's MetaData object here
# for 'autogenerate' support
Expand Down

0 comments on commit 629e95f

Please sign in to comment.