building db support with diesel.rs

This commit is contained in:
2019-01-27 21:52:46 +01:00
parent 940927d376
commit fb4d24ef44
14 changed files with 113 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
-- Your SQL goes here
CREATE TABLE recipes (
id INTEGER PRIMARY KEY NOT NULL,
title VARCHAR NOT NULL,
category INTEGER NOT NULL,
ingredients TEXT NOT NULL,
preparation TEXT NOT NULL
)