goose/internal/sqlparser/testdata/valid-txn/00001_create_users_table.sql
2023-01-19 09:19:13 -05:00

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;