Commit graph

24 commits

Author SHA1 Message Date
41fe97d336
Fix the imports I botched really badly
Apparently I don't understand how go modules work.
2026-05-14 20:56:20 +00:00
34e5dcbb17
Switch to hosting on source.gleipnir.technology
All checks were successful
/ test (push) Successful in 3s
2026-05-14 16:26:47 +00:00
4474319e73
Bulk replace project references in go code 2026-05-09 01:43:40 +00:00
2053415c76
Make it possible to add fully custom columns to table definition
This adds a few different fields to the column SQL builder that were
once either calculated or hard-coded:
 * Import - so you can import the column from anywhere
 * Type - fully, rather than partially, modifiable to allow any naming
   convention
 * TypeFactory - fully, rather than partially defined

I also alphabetized some things because the OCD compels me.
2026-05-06 16:26:38 +00:00
charlie
38ea65434f DefaultColumns() helper on Table 2025-02-06 09:34:22 +01:00
Alexander Trost
60ba05b6fb
feat: add generator skip option for table columns
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2025-01-07 22:30:15 +01:00
Volker Lieber
64884e4969 Extracted golang comment format function 2024-09-26 14:17:21 +02:00
Volker Lieber
ff82eb5df7 Implemented postgres table and enum comment generation 2024-09-24 20:41:27 +02:00
Samir Faci
4f80e0d36b Addressing Code review comments 2024-09-22 09:44:13 -04:00
Samir Faci
42a37c09d0 Adding support for enum model AllValues
Fixes #368

ChangeLog:
  - Updating test mysql version as it no longer exists.
  - Add a simple validation test
2024-09-18 12:16:58 -04:00
quirell
39f9996b34 Add DefaultAlias option to TableSQLBuilder 2023-08-02 10:03:59 +09:00
go-jet
bb22b80984 [Bug241] Remove control characters from mysql column comment 2023-07-22 12:01:49 +02:00
go-jet
5e34bef288 Add more UseSchema tests.
Rename newly generated file to avoid potentional conflict with tables named table or views named view.
2023-04-02 13:58:44 +02:00
go-jet
7b36f31cad Include mysql column comments into generated types 2023-03-31 14:43:47 +02:00
Jay
1bf48d640a Renamed generated schema func to UseSchema. 2022-12-05 17:26:52 +05:30
Jay
04c1a51ba7 Changed SetSchema to UseSchema 2022-12-04 20:33:55 +05:30
Jay
7db99b10bc Made 'SetSchema' to be generated in a dedicated file for views and tables. 2022-12-02 23:02:44 +05:30
Jay
a792fe6e0a Renamed generated SetSchema to Set<SchemaName>Schema 2022-12-01 12:48:28 +05:30
Jay
471499ea00 Added a global method to table generation (#79) 2022-12-01 11:54:14 +05:30
go-jet
4e1ff65023 [MySQL] Add NEW alias for the rows to be inserted. 2022-08-23 12:23:46 +02:00
fourdim
87cc6c9e93 add table prefix and suffix for multi-tenant environment support
This closes #125.
2022-03-16 22:47:34 +08:00
go-jet
51cad22809 Add jet generator support for SQLite 2021-10-21 13:21:01 +02:00
go-jet
0d418890ab Qrm refactor
- Allow custom types Scan method to read values returned by the driver rather then the value from intermediate Null types. Scan to intermidiate Null types removed.
- Better error handling
2021-10-15 17:43:10 +02:00
go-jet
8864667f47 Add the ability to fully customize jet generated files. 2021-07-27 17:39:21 +02:00