from flask_sqlalchemy import SQLAlchemy

db = SQLAlchemy()

class Artist(db.Model):
    __tablename__ = "artists"

    id = db.Column(db.Integer(), primary_key = True)
    spotid = db.Column(db.Integer())
    name = db.Column(db.String())
    popularity = db.Column(db.Integer())
    followers = db.Column(db.Integer())
    image = db.Column(db.String())
    top_tracks = db.Column(db.String())

    def __init__ (self, mydata):
        self.mydata = mydata

2640a28a364e647cb38b0147e834733b6ff1fe96
<mask token>


class Artist(db.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __init__(self, mydata):
        self.mydata = mydata

<mask token>


class Artist(db.Model):
    __tablename__ = 'artists'
    id = db.Column(db.Integer(), primary_key=True)
    spotid = db.Column(db.Integer())
    name = db.Column(db.String())
    popularity = db.Column(db.Integer())
    followers = db.Column(db.Integer())
    image = db.Column(db.String())
    top_tracks = db.Column(db.String())

    def __init__(self, mydata):
        self.mydata = mydata

<mask token>
db = SQLAlchemy()


class Artist(db.Model):
    __tablename__ = 'artists'
    id = db.Column(db.Integer(), primary_key=True)
    spotid = db.Column(db.Integer())
    name = db.Column(db.String())
    popularity = db.Column(db.Integer())
    followers = db.Column(db.Integer())
    image = db.Column(db.String())
    top_tracks = db.Column(db.String())

    def __init__(self, mydata):
        self.mydata = mydata

from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()


class Artist(db.Model):
    __tablename__ = 'artists'
    id = db.Column(db.Integer(), primary_key=True)
    spotid = db.Column(db.Integer())
    name = db.Column(db.String())
    popularity = db.Column(db.Integer())
    followers = db.Column(db.Integer())
    image = db.Column(db.String())
    top_tracks = db.Column(db.String())

    def __init__(self, mydata):
        self.mydata = mydata

from flask_sqlalchemy import SQLAlchemy

db = SQLAlchemy()

class Artist(db.Model):
    __tablename__ = "artists"

    id = db.Column(db.Integer(), primary_key = True)
    spotid = db.Column(db.Integer())
    name = db.Column(db.String())
    popularity = db.Column(db.Integer())
    followers = db.Column(db.Integer())
    image = db.Column(db.String())
    top_tracks = db.Column(db.String())

    def __init__ (self, mydata):
        self.mydata = mydata
