Skip to content

Instantly share code, notes, and snippets.

@tehasdf
Created August 31, 2016 09:05
Show Gist options
  • Save tehasdf/1e4cdb76003de0bee7393f7848a12d71 to your computer and use it in GitHub Desktop.
Save tehasdf/1e4cdb76003de0bee7393f7848a12d71 to your computer and use it in GitHub Desktop.
import sys
from sqlalchemy import create_engine
from manager_rest.storage.sql_models import db
db.metadata.create_all(create_engine(sys.argv[1]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment