codesmidgen/stickynotes/db.py

16 lines
276 B
Python
Raw Normal View History

# -*- 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