1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

feat: diesel-async usage example

This commit is contained in:
Alex Ted
2025-01-21 20:27:58 +03:00
parent df0dc549a5
commit 631c5f9472
13 changed files with 360 additions and 0 deletions

View File

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

View File

@ -0,0 +1,6 @@
-- Your SQL goes here
CREATE TABLE IF NOT EXISTS items
(
id uuid DEFAULT gen_random_uuid() PRIMARY KEY,
name VARCHAR NOT NULL
);