immigrant-generator-postgres 0.2.0

Immigrant migrations generator for postgres SQL dialect
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
!!!TEST create scalar
table A {
	field: b;
};
scalar b = sql"TEXT";
!!!RESULT
-- updated: create scalar --
CREATE DOMAIN b AS TEXT;
CREATE TABLE "as" (
	field b NOT NULL
);
-- updated: cleanup schema changes --
DROP TABLE "as";
DROP DOMAIN b;