Commit graph

13 commits

Author SHA1 Message Date
Aaron L
711ecbbe8d Use pg-specific schema tables for fkey detection
- Postgres doesn't care about names for uniqueness of keys unlike mysql
  because internally it keeps "oid" values to keep track of everything.
  Unfortunately this means that the information_schema standard is
  inadequate to differentiate between constraints that are named the
  same (which isn't possible in mysql, but is in pg). Hence we have to
  dip into the pg specific schemas for better or worse.
- Fix naming of the sample schema in the README since it would fail for
  mysql due to duplicate naming.
- Mark test schema up so we don't fix the bad names so we catch
  regressions here.
- Fix #85
2017-01-06 17:53:10 -08:00
Patrick O'brien
fac1a7fe69 update schemas to incl broken example from readme 2017-01-07 01:17:28 +10:00
Patrick O'brien
0d09921d4c Fix enum null.String support, add mysql support 2016-11-12 15:58:41 +10:00
Patrick O'brien
d891bcb9f0 Add randomize support for enums, add enums for pq 2016-11-12 15:47:24 +10:00
Patrick O'brien
6f0fce21b8 Update schema w/ nullbyte and byte, fix randomizer 2016-11-12 13:47:59 +10:00
Patrick O'brien
86ca3bbcea Fixed import paths for null package, add byte typ 2016-11-12 12:02:44 +10:00
Patrick O'brien
ec69111837 Update schemas 2016-09-23 12:29:58 +10:00
Patrick O'brien
80ccbf5c41 Update schemas 2016-09-20 18:10:13 +10:00
Aaron L
ea528d50b2 Fix spacing in test schemas 2016-09-18 16:07:57 -07:00
Aaron L
02eea7da44 Add mysql test database
- Fix spacing in postgres test database
2016-09-17 22:09:55 -07:00
Aaron L
1375634f71 Add more to the postgres schema test
- Fix a bug in generation where it uses bytes
2016-09-17 21:00:47 -07:00
Patrick O'brien
2ba5371cb6 Add to test schemas 2016-09-17 14:39:52 +10:00
Patrick O'brien
5c6135bfe8 Update circle, rename schemas, add mysql schema
* Add one to one to postgres schema
2016-09-17 11:15:03 +10:00