14 lines
279 B
MySQL
14 lines
279 B
MySQL
|
-- +goose Up
|
||
|
-- SQL in this section is executed when the migration is applied.
|
||
|
|
||
|
CREATE TABLE paste (
|
||
|
pasteId SERIAL PRIMARY KEY,
|
||
|
title VARCHAR(512),
|
||
|
handle uuid UNIQUE
|
||
|
);
|
||
|
|
||
|
-- +goose Down
|
||
|
-- SQL in this section is executed when the migration is rolled back.
|
||
|
|
||
|
DROP TABLE paste;
|