I'm not that good with Diesel yet am I
Some checks failed
continuous-integration/drone the build failed
Some checks failed
continuous-integration/drone the build failed
This commit is contained in:
parent
4faf19aae5
commit
e1282dacb0
10 changed files with 87 additions and 3 deletions
|
|
@ -0,0 +1,2 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE distributions;
|
||||
12
migrations/2021-06-28-154739_distribution-metadata/up.sql
Normal file
12
migrations/2021-06-28-154739_distribution-metadata/up.sql
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
-- Your SQL goes here
|
||||
CREATE TABLE distributions (
|
||||
id uuid DEFAULT gen_random_uuid() PRIMARY KEY,
|
||||
|
||||
name text UNIQUE NOT NULL,
|
||||
description text,
|
||||
origin text,
|
||||
label text,
|
||||
version text,
|
||||
suite text,
|
||||
codename text
|
||||
);
|
||||
Reference in a new issue