Commit graph

821 commits

Author SHA1 Message Date
Aaron L
d3b734d29b Remove COMPLETELY unused code 2016-09-22 00:21:12 -07:00
Aaron L
d438ce5fc1 Remove a couple seldom used vars 2016-09-22 00:21:12 -07:00
Aaron L
9e8cda4abe Special code for naming of one-to-one funcs 2016-09-22 00:21:12 -07:00
Aaron L
7744caa694 Delete unused variable 2016-09-22 00:21:12 -07:00
Aaron L
093db148e3 Change text helpers to use refactored func naming
- This cleans up the function naming so it's easier to follow in all
  cases. Provides better tests for the same.
2016-09-22 00:21:12 -07:00
Aaron L
14c5e5f149 Fix generation of self many-to-many
- Clean up the generation of to_many relationship types
2016-09-22 00:21:12 -07:00
Aaron L
0cf3939ed0 Merge branch 'dev' 2016-09-20 21:56:54 -07:00
Aaron L
b0cdc29c61 Remove unused template variables 2016-09-20 21:56:06 -07:00
Aaron L
cbb7041748 Fix #43 in a slightly different way. 2016-09-20 21:22:35 -07:00
Aaron L
79a228e297 Fixed some lint errors where spacing got messed up 2016-09-20 21:18:15 -07:00
Aaron L
b1344befe2 Change 'if eq .NoHooks false' -> 'if not .NoHooks' 2016-09-20 21:08:19 -07:00
Aaron L
5ba6769134 Remove unuseful text helper variable 2016-09-20 21:08:19 -07:00
Aaron L
04031a5c6f Change template naming to avoid lint errs 2016-09-20 21:08:19 -07:00
Patrick O'brien
522cb6824c Fix receiver lint errs 2016-09-21 13:38:14 +10:00
Aaron L
f48b041daa Fix error handling around exists 2016-09-20 19:34:01 -07:00
Aaron L
23aca7a9ce Merge pull request #42 from DylanJ/gosimple
Fix gosimple warning in exist tests
2016-09-20 19:30:50 -07:00
Dylan Johnston
c112ce367e Fix gosimple warning in exist tests 2016-09-21 00:39:29 +02:00
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