Commit graph

954 commits

Author SHA1 Message Date
Patrick O'brien
e3ba6f93d7 Add mysql to circle 2016-09-20 18:26:21 +10:00
Patrick O'brien
80ccbf5c41 Update schemas 2016-09-20 18:10:13 +10:00
Patrick O'brien
0a1a12cd0a Primary key only tables are now handled adequately 2016-09-20 18:05:33 +10:00
Patrick O'brien
d3f15c1953 Add tests for delete/deleteall 2016-09-20 16:55:36 +10:00
Patrick O'brien
a753d91ace Trim additional suffixes (uuid, guid, oid) 2016-09-20 15:00:39 +10:00
Patrick O'brien
c1dab978a5 Merge branch 'byteslicepkeys' into dev 2016-09-20 13:46:06 +10:00
Patrick O'brien
5ab8c628ed Fix randomize for mysql nil bytes 2016-09-20 13:45:32 +10:00
Patrick O'brien
9102327b1c Remove rowsaffected as 0 error 2016-09-20 13:20:33 +10:00
Aaron L
3474602ab5 Correct bits here and there from last commits 2016-09-19 18:59:46 -07:00
Patrick O'brien
7e1ac08639 Fix qm references in readme 2016-09-20 11:57:01 +10:00
Patrick O'brien
910c4b66ee Fix fish DeleteAll bug 2016-09-19 19:30:50 +10:00
Patrick O'brien
4a9e7a1b1a Fix upsert for mysql 2016-09-19 17:51:06 +10:00
Patrick O'brien
b869d2be8b Fix circle error 2016-09-19 17:16:53 +10:00
Patrick O'brien
342a4512b4 Fix relationship tests bug, not setting Valid 2016-09-19 17:03:29 +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
a164540276 Remove temp files 2016-09-18 17:45:29 -07:00
Aaron L
c9eca3d9a8 Fix remaining to one tests 2016-09-18 17:43:44 -07:00
Aaron L
a58d588150 Fix small error message in tests
- Ensure we check foreign key values with reload AFTER we do all our
  relationship struct checks, reloading kills the relationship struct.
2016-09-18 17:20:12 -07:00
Aaron L
8cdb026200 Fix one-to-one setop generation
- Remove a bunch of useless stuff from the templating
2016-09-18 17:07:15 -07:00
Aaron L
7511730f97 Rename the test files 2016-09-18 16:52:46 -07:00
Aaron L
cc7a960943 Begin re-enabling one-to-one 2016-09-18 16:49:18 -07:00
Aaron L
69e07b9a05 File shuffle 2016-09-18 16:41:04 -07:00
Aaron L
eaa9a92d52 Make postgres pass again 2016-09-18 16:40:33 -07:00
Aaron L
2299bcecb1 Correct test naming 2016-09-18 16:11:19 -07:00
Aaron L
8b60b97b9f Un-invert the logic in relationships.go 2016-09-18 16:10:20 -07:00
Aaron L
ea528d50b2 Fix spacing in test schemas 2016-09-18 16:07:57 -07:00
Aaron L
34b30ce6c3 Make templates generate again 2016-09-18 16:02:08 -07:00
Aaron L
1eb1ed10cf Fix last few bugs with find replacing 2016-09-18 11:21:26 -07:00
Aaron L
b39a5f0dad Fix struct generation 2016-09-18 11:18:55 -07:00
Aaron L
f00230c414 Fix names of txt helper functions in templates 2016-09-18 11:18:43 -07:00
Aaron L
4e20f223cd Put these aside for a minute 2016-09-18 11:14:21 -07:00
Aaron L
11098a95c3 Remove hacks from to_one 2016-09-18 11:13:22 -07:00
Aaron L
55e0ae5736 Add broken files that we'll need 2016-09-18 10:34:54 -07:00
Aaron L
dcbc640303 Fix test suites to include one-to-one 2016-09-18 10:34:07 -07:00
Aaron L
4d45a03ff7 Fix names of things for templates 2016-09-18 10:33:57 -07:00
Aaron L
be189323d9 Remove package name from txt helpers 2016-09-18 10:31:11 -07:00
Aaron L
81494a91d0 Remove one-to-one 2016-09-17 23:50:31 -07:00
Aaron L
64284a7748 Fix one-to-one text_helper ripple
- Rename a bunch of things.
2016-09-17 23:36:10 -07:00
Aaron L
b918e9ef9e Isolate to_many from one_to_one in bdb 2016-09-17 23:11:50 -07:00
Aaron L
9bc5b3fa40 Fix one-to-one in many areas 2016-09-17 22:10:19 -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
40847b4b42 Fix null bytes for mysql randomize 2016-09-18 13:17:06 +10:00
Patrick O'brien
bb62a81c38 Fix randomize for bytea and int32 2016-09-18 12:36:25 +10:00
Aaron L
5b97a17235 Fix erroneous generation of 1-to-1 setop remove 2016-09-17 00:09:56 -07:00
Aaron L
afe2665e52 Clean up the bytes checks with text helpers 2016-09-17 00:02:03 -07:00
Aaron L
69a59043c8 Revert "Fix compare against null.Bytes"
This reverts commit bbd9277e0e.
2016-09-16 23:04:58 -07:00
Patrick O'brien
2ba5371cb6 Add to test schemas 2016-09-17 14:39:52 +10:00
Patrick O'brien
bbd9277e0e Fix compare against null.Bytes 2016-09-17 14:32:19 +10:00
Patrick O
a42175011b Update README 2016-09-17 14:16:56 +10:00