diesel installed with example to create and list users

This commit is contained in:
2023-10-09 00:52:37 +02:00
parent 22ea7cab3d
commit e6dba30f48
13 changed files with 153 additions and 52 deletions

View File

@@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE IF EXISTS "users";

View File

@@ -0,0 +1,6 @@
-- Your SQL goes here
CREATE TABLE "users"(
"id" SERIAL PRIMARY KEY,
"username" VARCHAR NOT NULL
);