-- +goose Up CREATE TABLE notes ( id VARCHAR(36) PRIMARY KEY, created_at TIMESTAMP NOT NULL, updated_at TIMESTAMP NOT NULL, note TEXT NOT NULL, user_id VARCHAR(36) NOT NULL REFERENCES users(id) ON DELETE CASCADE ); -- +goose Down DROP TABLE notes;