Migration commit from heyvince.co to heyvince.ca

This commit is contained in:
vgoineau
2024-05-03 09:24:48 -04:00
commit 2c898da04f
24 changed files with 679 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import click
@click.command()
def init():
click.echo("Initializing your dft environment...")
# Create folder .dft inside home
# Add profile.yml file inside .dft folder
# Init Alembic with folder migrations
# Move alembic.ini
# Create models folder inside migrations
# Ajouter migration/models/ base.py
# Create files inside folder models
# Generate first init.py with dftbatch + base
# Add to env.py from migration import models + models.Base.metadata
# Create folder query
# Add file with dft_projects.yml