# Path: pyfeedreader/database.py
# def init_db():
# def drop_all():


from sqlalchemy import Column, Integer, ForeignKey
from pyfeedreader.database import Model
__author__ = 'sis13'



class UserFeeds(Model):
    __tablename__ = "user_feeds"
    id = Column('id', Integer, primary_key=True)
    feed_id = Column(Integer)
    user_id = Column(Integer, ForeignKey('user.id'))


# Path: pyfeedreader/database.py
# def init_db():
# def drop_all():


# Path: pyfeedreader/models/userfeeds.py
from sqlalchemy import Column, Integer, ForeignKey
from pyfeedreader.database import Model

__author__ = 'sis13'



class UserFeeds(Model):
    __tablename__ = "user_feeds"
    id = Column('id', Integer, primary_key=True)
    feed_id = Column(Integer)
    user_id = Column(Integer, ForeignKey('user.id'))


    def __init__(self, feed_id, user_id):