Commit graph

880 commits

Author SHA1 Message Date
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
Patrick O
6903b4756e Fix path i nreadme, add boil.SetDB 2016-09-17 14:12:37 +10:00
Patrick O'brien
6c13b63500 Fix non-int comparisons 2016-09-17 13:13:44 +10:00
Patrick O
e1d9ac3d17 Specify Postgres schema in README 2016-09-17 12:57:39 +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
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
7e4113272d Correct problem where constant diffs occurred
- One of our strmangle functions was afflicted by Go's map ordering,
  force a sort keys on it.
2016-09-15 23:28:59 -07:00
Aaron L
b0b0ff87c6 Fix MySQL return query optimization.
- Before, this could erroneously detect that it could do without the
  return query because it thought all we wanted was the id. Now with
  this fix it should properly discard the query when all we want is id.
2016-09-15 22:28:23 -07:00
Aaron L
bac82b6f0e Correct caching for upserts with no returns
- Previously it would return early, and therefore no caching was being
  performed since it would never write to the cache.
2016-09-15 22:17:37 -07:00
Aaron L
440e3a1343 Fix cache keying for upsert
- Previously the non-zero default columns were not taken into account
  and therefore this cached too aggressively.
2016-09-15 22:08:45 -07:00
Aaron L
0e4372f0d5 Fix template generation problem for to_one 2016-09-15 22:03:47 -07:00
Patrick O
2fb970b11c Merge pull request #36 from nguyendangminh/master
Add config sample for MySQL
2016-09-15 21:02:22 +10:00
Nguyen Dang Minh
0087ed4148 Add config sample for MySQL 2016-09-15 17:58:43 +07:00
Patrick O
12458d97fd Merge pull request #35 from nguyendangminh/master
Correct command in README
2016-09-15 20:57:31 +10:00
Patrick O
d21ba9b592 Change -x command to -b 2016-09-15 20:55:09 +10:00
Nguyen Dang Minh
884bc9f501 Correct command
Error: unknown shorthand flag: 'x' in -x
2016-09-15 17:37:46 +07:00
Patrick O'brien
65dd15de09 Merge branch 'dev' 2016-09-15 19:52:44 +10:00
Patrick O'brien
40ce5838f3 Fix hstore naming 2016-09-15 16:58:41 +10:00
Aaron L
c249cf49d0 Fix Boris' name in the README.
- Fix table formatting
- Remove section for MySQL vs Postgres config for global options
- Fix path to Bind after refactor.
2016-09-14 23:33:18 -07:00
Aaron L
de7ba2fa8e Clean up the reflect tests. 2016-09-14 23:20:42 -07:00