Aaron L
4997ba96bf
Add more clear documentation about boil.Begin()
...
- Fix #88
2017-01-09 20:28:07 -08: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
158d9cbec0
remove commas from schema example
2017-01-07 00:48:39 +10:00
Patrick O'brien
dd73656d8e
Fix readme example spacing
2017-01-02 15:21:16 +10:00
Patrick O'brien
920cb42f9b
Add examples for top level config
2017-01-02 15:20:32 +10:00
Aaron L
ca748b070d
Merge branch 'dev'
2016-11-12 00:08:09 -08:00
Aaron L
0cd1b61926
Add enums to readme
...
- Fix a number of indentation and trailing space issues
2016-11-11 23:59:21 -08:00
Patrick O'brien
d891bcb9f0
Add randomize support for enums, add enums for pq
2016-11-12 15:47:24 +10:00
Aaron L
ede97dea5b
Add enum const generation
...
- Make postgres name its enums
- Add way to filter columns by whether or not they're an enum
- Split parsing of enums into name & values
- Add strmangle check functions: IsEnumNormal, ShouldTitleCaseEnum
- Add new strmangle enum functions to template test
- Implement a set type called "once" inside the templates so that we can
ensure certain things only generate one time via some unique name.
2016-11-11 01:06:30 -08:00
Patrick O
7fc3d63bf9
Update README.md
...
Add screencast link
2016-11-02 14:19:41 +10:00
Aaron L
42681453a9
Add a version command
2016-10-05 07:44:43 -07:00
Aaron L
0cf3939ed0
Merge branch 'dev'
2016-09-20 21:56:54 -07:00
Aaron L
f48b041daa
Fix error handling around exists
2016-09-20 19:34:01 -07: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
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
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
e1d9ac3d17
Specify Postgres schema in README
2016-09-17 12:57:39 +10:00
Nguyen Dang Minh
0087ed4148
Add config sample for MySQL
2016-09-15 17:58:43 +07: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
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
f803cdd6bd
Fix all references to moved elements.
2016-09-14 21:02:24 -07:00
Patrick O'brien
f6b4d3c6fd
Rename exec funcs to conform to sql stdlib
2016-09-15 02:14:30 +10:00
Patrick O'brien
7d377f42ae
Update readme
2016-09-14 20:42:20 +10:00
Patrick O'brien
7ce5ac18ac
Add P versions of query exec funcs
...
- Update readme
2016-09-14 19:42:07 +10:00
Patrick O'brien
83f7092dc6
Add MySQL Upsert, fix identation in all tpls
2016-09-14 18:14:07 +10:00
Patrick O'brien
e62dfe369f
Add array types and hstore types
2016-09-12 03:40:59 +10:00
Patrick O'brien
a1f91416f9
Add link to project page
2016-09-11 13:02:54 +10:00
Patrick O'brien
793522650c
Add lq, rq, and indexplaceholders args everywhere
2016-09-10 05:15:50 +10:00
Aaron L
16b6a2b176
Rename Exclude -> Blacklist
2016-09-08 22:41:57 -07:00
Patrick O'brien
1c8a9d2e39
Add schema feature to everything (except rels)
...
* Add strmangle SchemaTable helper
2016-09-09 07:23:10 +10:00
Patrick O'brien
3929729a2c
Add schema flags to readme
2016-09-09 03:43:36 +10:00
Patrick O'brien
8d486ef51b
Add schema FAQ to readme
2016-09-09 03:39:27 +10:00
Patrick O'brien
7144d272bd
Add whitelist feature
2016-09-06 00:41:12 +10:00
Geert-Johan Riemer
c6c0db5b88
Fix example in README
...
Percentages in a string should be either escaped `"%%"` or placed in a raw string. ````%````
2016-09-05 09:51:34 +02:00
Patrick O'brien
003a51d90f
Fix tag command in README
2016-09-05 13:08:08 +10:00
Aaron L
9a534e73e2
Fix download command in README
2016-09-04 14:42:14 -07:00
Patrick O'brien
5d3bd0ba54
Add Go version compatibility requirements
2016-09-05 02:11:27 +10:00
Patrick O'brien
a90796c698
Fix images
2016-09-05 01:49:30 +10:00
Patrick O'brien
f0e723a58e
Add benchmarks
2016-09-05 01:44:29 +10:00
Patrick O'brien
51a86dde3d
Add tags feature to readme
2016-09-04 23:56:36 +10:00
Patrick O'brien
513e490c00
Point to benches in readme
2016-09-04 17:58:48 +10:00
Aaron L
bee4addfb0
Update readme.
2016-09-04 00:37:48 -07:00
Patrick O'brien
cbee6db25b
README and circle
2016-09-03 02:18:14 +10:00
Aaron L
70c633df5a
Make sure we generate to_many set op tests
...
README
README
README
README
2016-09-03 02:17:35 +10:00
Patrick O'brien
09fb8005f6
Add TitleCase cache
2016-09-02 17:55:16 +10:00
Patrick O'brien
3d863b7e58
Finish README (except benchmarks)
2016-09-01 10:35:32 +10:00