Exemple #1
0
def new():
    """Creates an empty, tableless database"""
    local("createdb %s" % config.database_name())
def new():
    """Creates an empty, tableless database"""
    local("createdb %s" % config.database_name())
Exemple #3
0
def drop():
    """Drops database named in .env"""
    local("dropdb %s" % config.database_name())
def drop():
    """Drops database named in .env"""
    local("dropdb %s" % config.database_name())