<gh_stars>0
from sqlalchemy import Table, Column, MetaData, ForeignKey
from sqlalchemy.types import Text, Integer, String, TIMESTAMP, SMALLINT
from newsresearch.db_models.tables import BaseModel


class Authors(BaseModel):

    def __init__(self, metadata, innerschema):
        self.table = Table('authors', metadata,
                            Column('id', Integer, primary_key=True),
                            Column('fullname', String(255)),
                            schema=innerschema)

from sqlalchemy import Table, Column, MetaData, ForeignKey
from sqlalchemy.types import Text, Integer, String, TIMESTAMP, SMALLINT
from newsresearch.db_models.tables import BaseModel


class Authors(BaseModel):

    def __init__(self, metadata, innerschema):
        self.table = Table('authors', metadata,
                            Column('id', Integer, primary_key=True),
                            Column('fullname', String(255)),
                            schema=innerschema)