Commit graph

25 commits

Author SHA1 Message Date
Patrick O'brien
4e8191b8dd Add struct tags flag 2016-09-04 23:44:54 +10:00
Patrick O'brien
e35ecd76c1 Add json tables output to debug mode 2016-09-04 20:27:19 +10:00
Patrick O'brien
4b1c934751 Remove pointers to L, not needed
* Add no-tests flag
2016-09-02 11:22:56 +10:00
Patrick O'brien
96d40fcfe4 Add automatic timestamps for created_at/updated_at
* Update and Insert
* Add --no-auto-timestamps flag
2016-08-29 00:12:37 +10:00
Patrick O'brien
95ff24b918 Add --no-hooks feature 2016-08-28 20:48:50 +10:00
Aaron L
63fae21c51 Add base_dir to make it less ornerous to use 2016-08-23 21:50:41 -07:00
Patrick O'brien
22a904d025 Convert sqlboiler tests to MockDriver
* Improve impl of mock driver
2016-08-18 22:11:49 +10:00
Patrick O'brien
1e67965482 Add exclude/blacklist tables flag 2016-08-16 20:38:31 +10:00
Patrick O'brien
a681624168 Remove tables flag from binary 2016-08-15 22:42:40 +10:00
Aaron L
944303f2f5 Properly abstract LastInsertID 2016-08-13 16:34:02 -07:00
Aaron L
5360d3094e Use errors package all over the project
In general:
errors.New("thing") -> errors.New
fmt.Errorf("thing %s", arg) -> errors.Errorf
fmt.Errorf("thing %v", err) -> errors.Wrap
fmt.Errorf("thing %s %v", arg, err) -> errors.Wrapf
2016-08-13 11:37:16 -07:00
Patrick O'brien
33286e648a Update repo to add vattle org paths 2016-08-09 17:59:30 +10:00
Aaron L
e08eacad05 Stop dividing templates up, and execute by name
- This allows us to use templates defined from anywhere in other
  templates.
2016-07-16 23:55:15 -07:00
Aaron L
2b666e74de Add postgres sslmode to configuration. 2016-07-11 15:17:49 -07:00
Aaron L
fee1231813 Push strmangle refactoring through everything. 2016-06-22 23:48:49 -07:00
Aaron L
60f6080e73 Refactor dbdrivers into two packages
- Break dbdrivers into bdb and drivers
- Break each type in dbdrivers into it's own file set.
2016-06-22 23:11:32 -07:00
Aaron L
84a160f3a4 Start of the to_many relationships. 2016-06-22 22:03:05 -07:00
Aaron L
119e683952 Use extensive piping throughout the templates
- Haskell ftw
2016-06-19 22:22:50 -07:00
Aaron L
57e20dfd72 Fix some problems with viper setup.
- Fix error reporting throughout the executable side of the project.
2016-06-12 15:35:38 -07:00
Aaron L
e0f461014b Fix some configuration bits.
- Refix the panics that were occuring (almost all of them).
2016-06-12 12:08:34 -07:00
Aaron L
56234e37a1 Move main back to root folder.
- Change everything to package main.
- Make main a little more user friendly.
2016-06-12 11:19:23 -07:00
Aaron L
5fc40c9226 Refactor output 2016-06-12 00:32:46 -07:00
Patrick O'brien
3352220c53 Merge branch 'master' of github.com:nullbio/sqlboiler 2016-06-12 16:50:38 +10:00
Aaron L
fd7a564af4 Move State to the SQLBoiler file where it belongs 2016-06-11 23:27:39 -07:00
Aaron L
8757c8a184 Refactor entire project :D
- Move most files to root
- Remove cmds directory in favor of cmd directory with binary
- Remove all cobra from main
2016-06-11 18:25:00 -07:00