/
githubmirror
/
goose
Обзор
Документация
Войти
/
githubmirror
/
goose
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/testing/integration/testdata/migrations/postgres/00002_insert.sql
16 строк
454 B
Michael Fridman
Update integration test suite (formally e2e) (#713)
14 мар 2024, 16:35
Не верифицирован
14 мар 2024, 16:35
b2c483a
Код
Авторство
О чём код?
-- +goose Up -- +goose StatementBegin INSERT INTO owners(owner_name, owner_type) VALUES ('lucas', 'user'), ('space', 'organization'); -- +goose StatementEnd INSERT INTO owners(owner_name, owner_type) VALUES ('james', 'user'), ('pressly', 'organization'); INSERT INTO repos(repo_full_name, repo_owner_id) VALUES ('james/rover', 3), ('pressly/goose', 4); -- +goose Down -- +goose StatementBegin DELETE FROM owners; -- +goose StatementEnd