[#24] Added first ivago migration

This commit is contained in:
Jef Roosens 2021-04-15 18:05:02 +02:00
parent 727589b10f
commit 81ae1a2555
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
4 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP SCHEMA ivago CASCADE;

View file

@ -0,0 +1,9 @@
-- Your SQL goes here
CREATE SCHEMA ivago;
CREATE TABLE ivago.streets (
name TEXT NOT NULL,
city TEXT NOT NULL,
PRIMARY KEY (name, city)
);