Skip to content

Instantly share code, notes, and snippets.

@arbarlow
Created April 23, 2015 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arbarlow/54f242bc98a51c45ed8b to your computer and use it in GitHub Desktop.
Save arbarlow/54f242bc98a51c45ed8b to your computer and use it in GitHub Desktop.
-- +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