generated from templates/go-generic
11 lines
196 B
MySQL
11 lines
196 B
MySQL
|
-- +goose Up
|
||
|
CREATE TABLE users (
|
||
|
id UUID PRIMARY KEY,
|
||
|
created_at TIMESTAMP NOT NULL,
|
||
|
updated_at TIMESTAMP NOT NULL,
|
||
|
name varchar(255) NOT NULL UNIQUE
|
||
|
);
|
||
|
|
||
|
-- +goose Down
|
||
|
DROP TABLE users;
|