mirror of
https://github.com/pressly/goose.git
synced 2025-04-27 13:13:52 +00:00
15 lines
243 B
SQL
15 lines
243 B
SQL
-- +goose Up
|
|
CREATE TABLE users (
|
|
id int NOT NULL PRIMARY KEY,
|
|
username text,
|
|
name text,
|
|
surname text
|
|
);
|
|
|
|
INSERT INTO users VALUES
|
|
(0, 'root', '', ''),
|
|
(1, 'vojtechvitek', 'Vojtech', 'Vitek');
|
|
|
|
-- +goose Down
|
|
DROP TABLE users;
|