all repos — moviedb @ 5e82b1b6e63b51d448914dbe5872b5d255b1b594

A Flask web-app to browse movie information from IMDb using imdbpy

moviedb/models.py

1 2 3 4 5 6 7 8 9 10 11 12
from . import db

class user_info(db.Model):
    user_id = db.Column(db.Integer, primary_key=True)
    password = db.Column(db.String(100))
    username = db.Column(db.String(100), unique=True)
    fav_genre = db.Column(db.String(100))
    recent_fav = db.Column(db.String)

class fav(db.Model):
    user_id = db.Column(db.Integer, primary_key=True)
    tconst = db.Column(db.Integer, primary_key=True)