<gh_stars>0
from serpens import database, envvars


def migrate(event, context):
    print("Migrating database...")
    database.migrate(envvars.get("DATABASE_URL"), "./")
    print("Migration successful")

from serpens import database, envvars


def migrate(event, context):
    print("Migrating database...")
    database.migrate(envvars.get("DATABASE_URL"), "./")
    print("Migration successful")