16 lines
276 B
Python
16 lines
276 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
The basics of the database
|
|
"""
|
|
from flask_sqlalchemy import SQLAlchemy
|
|
|
|
db = SQLAlchemy()
|
|
session = db.session
|
|
Model = db.Model
|
|
Column = db.Column
|
|
Integer = db.Integer
|
|
String = db.String
|
|
Text = db.String
|
|
DateTime = db.DateTime
|
|
Boolean = db.Boolean
|