示例#1
0
文件: app.py 项目: lite/pinche
def create_tables():
    from models import User, Message, Note, Relationship, City, Pinche
    
    # User.create_table()
    Relationship.create_table()
    Note.create_table()
    Message.create_table()
    City.create_table()
    Pinche.create_table()
示例#2
0
文件: app.py 项目: jade-bot/pinche
def create_tables():
    from models import User, Message, Note, Relationship, City, Pinche

    # User.create_table()
    Relationship.create_table()
    Note.create_table()
    Message.create_table()
    City.create_table()
    Pinche.create_table()
示例#3
0
from app import app
from models import City
import views

if __name__ == '__main__':
    City.create_table(True)
    app.run()