Make some db tests pass against the new sea-orm implementation

This commit is contained in:
Antonio Scandurra 2022-11-30 12:06:25 +01:00
parent b7294887c7
commit d9a892a423
9 changed files with 849 additions and 711 deletions

View file

@ -8,7 +8,7 @@ CREATE TABLE "users" (
"inviter_id" INTEGER REFERENCES users (id),
"connected_once" BOOLEAN NOT NULL DEFAULT false,
"created_at" TIMESTAMP NOT NULL DEFAULT now,
"metrics_id" VARCHAR(255),
"metrics_id" TEXT,
"github_user_id" INTEGER
);
CREATE UNIQUE INDEX "index_users_github_login" ON "users" ("github_login");