globalstorage icon indicating copy to clipboard operation
globalstorage copied to clipboard

Generate pgsql db structure from schema

Open tshemsedinov opened this issue 6 years ago • 2 comments

tshemsedinov avatar Jul 30 '18 20:07 tshemsedinov

@tshemsedinov do we need to create Postgres's Domain for each domain? This sounds like a nice idea, but I'm sure that we'll add data validation on a globalstorage level, and this will make type constraints in Postgres redundant.

nechaido avatar Aug 31 '18 12:08 nechaido

@nechaido Such an approach would be good for PG based application, when all business logic, constraints and queries will be executed in PG. We use PG just for persistent storage and need no domains.

tshemsedinov avatar Aug 31 '18 12:08 tshemsedinov