I started using Peewee for a project to store some information, and I am wondering if there is a way to import the local database into phpmyadmin to be able to better view and interact with the stored data. I created my db like so:
from peewee import *
db = SqliteDatabase('trains.db')
class Train(Model):
id = AutoField()
origin = CharField()
destination = CharField()
due = TimeField()
delay = IntegerField()
est = TimeField()
cancelled = BooleanField()
day = CharField()
class Meta:
database = db
db.connect()
db.create_tables([Train])
train = Train(origin="LNC", destination="Sheffield", due="17:49", delay=0, est="17:49", cancelled=False,day="monday")
success = train.save()
print(success)
db.close()
This creates a .db file which is not importable to phpmyadmin (I have XAMPP 3.2.4). I came across to SQLite->MySQL converters but they seem to be out of date and I'm not sure if I should just not even use SQLite, as I will have to look at the database in some nicer, visual form.



