25 Commits

Author SHA1 Message Date
1bc7f9111f codegen: implement "without rowid" tables
Some checks failed
CI / build-docker (push) Successful in 6s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 16s
2026-03-18 10:39:38 -07:00
29787b5521 fix: make codegen not fail for "blob" columns
- was previously using "[]byte" as a single `ast.NewIdent`, which made comment+blank-line-insertion reparsing fail
2026-03-03 17:53:47 -08:00
3e0a85fcfa codegen: add unique index lookup funcs 2026-02-22 21:45:05 -08:00
85d544152f schema: add PrimaryKeyColumns method to Table, useful for 'without rowid' tables 2026-02-15 14:10:06 -08:00
5cbb657666 codegen: add helpers
All checks were successful
CI / build-docker (push) Successful in 4s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 15s
2026-02-15 12:24:39 -08:00
5973a2a4b7 codegen: implement auto-timestamps for created_at and updated_at
Some checks failed
CI / build-docker (push) Successful in 7s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 3m7s
2026-02-14 21:38:09 -08:00
75b7662c34 lint: fix lll and imports
All checks were successful
CI / build-docker (push) Successful in 3s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 15s
2026-02-07 22:29:57 -08:00
229f41e478 schema: add tests to show that migrations can be validated
Some checks failed
CI / build-docker (push) Successful in 4s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 9s
2026-02-07 18:12:53 -08:00
2e50736e67 schema: enable parsing a schema from an existing sqlx.DB instance
All checks were successful
CI / build-docker (push) Successful in 4s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 2m30s
2026-02-07 15:09:05 -08:00
wispem-wantex
b96ab19bc2 refactor: create helper functions in model generator
All checks were successful
CI / build-docker (push) Successful in 4s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 2m25s
2026-01-31 18:25:53 -08:00
wispem-wantex
0371fb4144 sqlite_lint: add support for FTS5 and virtual tables
Some checks failed
CI / build-docker (push) Successful in 5s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 6s
2026-01-17 09:00:24 +09:00
a6cbbd3b39 tests: add test files for previous commit
Some checks failed
CI / build-docker (push) Successful in 7s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 31s
2026-01-10 17:06:28 -08:00
2ac9d8e775 sqlite_lint: add lint checks for rowid and without rowid
Some checks failed
CI / build-docker (push) Successful in 7s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Failing after 15s
2026-01-10 17:04:27 -08:00
a32bf873c9 refactor: create helper function for computing a table's generated type-name 2025-12-12 22:37:29 -08:00
89db9e14e2 fix: parser no longer breaks on encountering indexes that contain expression columns
All checks were successful
CI / build-docker (push) Successful in 16s
CI / build-docker-bootstrap (push) Has been skipped
CI / release-test (push) Successful in 47s
2025-12-12 21:54:46 -08:00
f74da53c37 refactor: use flowutils helpers instead of 'if err != nil' 2025-12-12 21:52:59 -08:00
7449e7dc10 Fix lint error
All checks were successful
CI / release-test (push) Successful in 16s
2025-08-23 18:57:13 -07:00
100b53d799 Add Schema definition changes to support the linter functions
Some checks failed
CI / release-test (push) Failing after 16s
2025-08-23 18:55:13 -07:00
8b422ada11 Add sqlite-lint to 'pkg/schema/lint'
Some checks failed
CI / release-test (push) Failing after 10s
2025-08-23 18:54:00 -07:00
8245f89305 Add parsing of schema indexes
All checks were successful
CI / release-test (push) Successful in 12s
2025-08-23 16:58:41 -07:00
e7f9934f03 SQL whitespace 2025-08-23 15:59:08 -07:00
14d395f0ea Tidy up the Table SQL interface a bit
All checks were successful
CI / release-test (push) Successful in 2m33s
2025-08-23 15:53:23 -07:00
754c21ab29 Move sql views to a .sql file 2025-08-23 14:10:57 -07:00
1b04b71d9d Rename go.mod module name according to git path
All checks were successful
CI / release-test (push) Successful in 6s
2025-07-12 12:29:28 -07:00
378b86b7f1 Move schema parsing to its own package
All checks were successful
CI / release-test (push) Successful in 4s
2025-07-12 11:46:50 -07:00