How to access the sqlite cli? I dont see any docs about that. When I am trying to run fly ssh console -C database-cli, i do get an error that database-cli path is not there.
I have exactly the same problem that user table is not there when I am making a post request to my /login endpoint. Stack: Remix, Prisma (sqlite)
sqlite> .schema
CREATE TABLE IF NOT EXISTS "_prisma_migrations" (
"id" TEXT PRIMARY KEY NOT NULL,
"checksum" TEXT NOT NULL,
"finished_at" DATETIME,
"migration_name" TEXT NOT NULL,
"logs" TEXT,
"rolled_back_at" DATETIME,
"started_at" DATETIME NOT NULL DEFAULT current_timestamp,
"applied_steps_count" INTEGER UNSIGNED NOT NULL DEFAULT 0
);
sqlite>
Going to try create it and see if it fixes it. Not sure how yet.