Commit graph

188 commits

Author SHA1 Message Date
Sergey Kurt
813fd43e03 Ignore columns with defaults on Insert 2017-03-14 17:41:45 +03:00
Sergey Kurt
e2e619dfb2 Check for error on tables schema file opening 2017-03-14 16:51:56 +03:00
Sergey Kurt
e2f32e746e Main MSSQL test template 2017-03-13 19:11:34 +03:00
Sergey Kurt
132339026a Regular expression for FK destroyer 2017-03-13 16:24:08 +03:00
Sergey Kurt
e00ea60679 Initial MSSQL support 2017-03-13 12:55:26 +03:00
Aaron L
d79f816cc1 Fix test failure
- Optimistic code removed. It wasn't possible to test for this condition
  ever.
2017-01-24 23:03:59 -08:00
Aaron L
bdb0ef1b7c Fix missing tests
- ToMany(Set|Remove)Op tests were not being generated for join tables.
2017-01-24 22:44:11 -08:00
Aaron L
ab01c9d234 Don't eat so many spaces in to_many templates
- Fix #89
2017-01-10 18:16:02 -08:00
Aaron L
5f394a4f69 Fix one-to-one setops 2016-09-24 14:34:31 -07:00
Aaron L
09ed5709e5 Fix template spacing with new output
- The old templates used to output \n\n after each run, with the
  previous changes this is no longer the case and as such the templates
  all must be formatted correctly.
2016-09-24 00:52:18 -07:00
Patrick O'brien
0dc68e749e Fix pgpassfile for compat tests 2016-09-24 16:16:44 +10:00
Aaron L
fa2202abb2 Fix SetOp for half join tables 2016-09-22 23:17:54 -07:00
Aaron L
0530ba9227 Rename $rel -> $txt for consistency 2016-09-22 21:49:50 -07:00
Aaron L
9402c8fe07 Fix area where the wrong columns were being used 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
b1344befe2 Change 'if eq .NoHooks false' -> 'if not .NoHooks' 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
Dylan Johnston
c112ce367e Fix gosimple warning in exist tests 2016-09-21 00:39:29 +02:00
Patrick O'brien
0a1a12cd0a Primary key only tables are now handled adequately 2016-09-20 18:05: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
342a4512b4 Fix relationship tests bug, not setting Valid 2016-09-19 17:03:29 +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
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
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
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
81494a91d0 Remove one-to-one 2016-09-17 23:50:31 -07:00
Aaron L
9bc5b3fa40 Fix one-to-one in many areas 2016-09-17 22:10:19 -07:00
Patrick O'brien
40847b4b42 Fix null bytes for mysql randomize 2016-09-18 13:17:06 +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
bbd9277e0e Fix compare against null.Bytes 2016-09-17 14:32:19 +10:00
Patrick O'brien
6c13b63500 Fix non-int comparisons 2016-09-17 13:13:44 +10:00
Aaron L
fbb3872303 Fix bug where generation could fail 2016-09-16 08:28:05 -07:00
Aaron L
71cda35c50 Fix randomization in relationship tests 2016-09-16 08:22:09 -07:00
Aaron L
32561717b1 Clean up the byte primary key stuff 2016-09-16 08:02:32 -07:00
Aaron L
c624943f53 Make a rough sketch of what this would look like
Needs cleanup: Do not merge
2016-09-16 00:22:12 -07:00
Aaron L
a426f09a75 Remove helpers in favor of more optimized paths 2016-09-15 23:44:44 -07:00
Aaron L
0e4372f0d5 Fix template generation problem for to_one 2016-09-15 22:03:47 -07:00