Created
April 23, 2015 15:48
-
-
Save arbarlow/54f242bc98a51c45ed8b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- +goose Up | |
CREATE TABLE reels ( | |
id uuid primary key default uuid_generate_v4() NOT NULL, | |
name text NOT NULL, | |
folder text NOT NULL, | |
auth_provider_id uuid NOT NULL REFERENCES auth_providers(id), | |
owner_id uuid NOT NULL REFERENCES users(id), | |
updated_at timestamp NOT NULL default now(), | |
created_at timestamp NOT NULL default now() | |
); | |
-- +goose Down | |
DROP TABLE reels; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment