init DRF + sde models

This commit is contained in:
Tom Villette
2023-10-26 18:05:30 +02:00
parent 2a454dcd00
commit d4c09332b5
24 changed files with 500 additions and 27 deletions

View File

@@ -1,10 +1,3 @@
import yaml
from eveal.database import engine
from sqlmodel import Session, SQLModel, select
from eveal import models_sde
SQLModel.metadata.drop_all(engine) # use alembic!
SQLModel.metadata.create_all(engine)
print("Importing SDE data...")