mirror of
https://github.com/pressly/goose.git
synced 2025-07-08 11:38:16 +00:00
11 lines
203 B
SQL
11 lines
203 B
SQL
-- +goose Up
|
|
CREATE TABLE users (
|
|
id INTEGER PRIMARY KEY,
|
|
username TEXT NOT NULL,
|
|
email TEXT NOT NULL,
|
|
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
);
|
|
|
|
-- +goose Down
|
|
DROP TABLE users;
|