Sergey Kurt
35eefdda41
MS SQL test schema
2017-03-16 11:32:24 +03:00
Patrick O'brien
60a40eaf48
Fix randomize vals wrapping around to ngative vals
...
* Use modulus to ensure values are within valid ranges
2017-03-04 12:27:09 +10:00
Patrick O'brien
e992e327c2
Fix inflection bug for "ss" words (like address)
...
* Adjust inflect rules
* Bump version to 2.1.8
2017-01-24 13:31:43 +10:00
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
dea748d409
Add --tinyint-as-bool flag (v2.1.4 release)
2017-01-02 15:16:08 +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
Patrick O'brien
fdeecbf106
Fix insert and randomize errors, fix time.Time
...
* MySQL requires timeParsing enabled
* Update readme to reflect this requirement
2016-09-19 15:22:32 +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
ab67fddac3
Fix mysql test schema
2016-09-17 11:26:17 +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
Patrick O'brien
9bcaf51493
Fix randomize for all array types, remove generic
...
* GenericArray can't work with generated code.
* Multi-dimensional arrays can't work because
PSQL does not have a method to discover array
depth.
2016-09-12 07:22:17 +10:00
Patrick O'brien
14c8f651c4
Add all postgres types to test_schema
2016-09-08 19:52:52 +10:00
Patrick O'brien
0c44af51a8
Fix name conflict bug in find
...
* Add more tests to test schema
2016-08-21 16:03:51 +10:00
Patrick O'brien
cd7e45efaa
Fix bugs for table only containing composite pkey
...
* Add more tables to test schema
* Add string slice match helper
2016-08-21 15:44:49 +10:00
Patrick O'brien
f563c59234
Add circle file and test schema
2016-08-05 15:20:31 +10:00