Open twist3dimages opened 1 year ago
This only happens on a specific downloads/metadata folder I used to use but I'm not sure how to fix it
(Background on this error at: https://sqlalche.me/e/20/e3q8) (sqlite3.OperationalError) table medias already exists [SQL: CREATE TABLE medias ( id INTEGER NOT NULL, media_id INTEGER, post_id INTEGER NOT NULL, link VARCHAR, directory VARCHAR, filename VARCHAR, size INTEGER, api_type VARCHAR, media_type VARCHAR, preview INTEGER, linked VARCHAR, downloaded INTEGER, created_at TIMESTAMP, PRIMARY KEY (id), UNIQUE (media_id) )
]
it does it for every model in that specific folder
This only happens on a specific downloads/metadata folder I used to use but I'm not sure how to fix it
(Background on this error at: https://sqlalche.me/e/20/e3q8) (sqlite3.OperationalError) table medias already exists [SQL: CREATE TABLE medias ( id INTEGER NOT NULL, media_id INTEGER, post_id INTEGER NOT NULL, link VARCHAR, directory VARCHAR, filename VARCHAR, size INTEGER, api_type VARCHAR, media_type VARCHAR, preview INTEGER, linked VARCHAR, downloaded INTEGER, created_at TIMESTAMP, PRIMARY KEY (id), UNIQUE (media_id) )
]
it does it for every model in that specific folder