It's simple framework for PostgreSQL database with unit tests and versioning.
Created based on:
bundle install
bundle exec sem-add-framework
bundle exec sem-add-safe ./new-script.sql
bundle exec sem-apply --url postgresql://postgres@localhost/sample --password
Go to Schema Evolution Manager (sem).
BEGIN TRANSACTION;
SELECT * FROM unit_tests.begin();
ROLLBACK TRANSACTION;
Go to PostgreSQL Unit Testing Framework.
DROP SCHEMA IF EXISTS assert CASCADE;
DROP SCHEMA IF EXISTS unit_tests CASCADE;
DROP DOMAIN IF EXISTS public.test_result CASCADE;
It's' dangerous.
DROP SCHEMA IF EXISTS framework CASCADE;