Rajat Ahuja
2945f6bb3c
rm: level_valid constraint ( #266 )
...
* rm: level_valid constraint
* fix: create new migration
* fix: normalize data before enforcing check constraint again
2025-11-17 12:56:37 -05:00
Rajat Ahuja
7e8cf4336c
fix: add test for message seq in session ( #268 )
2025-11-17 12:54:23 -05:00
Rajat Ahuja
d7bdcc3bc1
feat: codify queue columns ( #254 )
...
* feat: codify queue columns
* fix: batch with python loop control
* fix: cleanup merge
* fix: down revision
* fix: batch delete in migration
* feat: only run alembic tests for changed migration / test (#264 )
* feat: only run alembic tests for changed migration / test
* fix: Run full test suite if alembic testing infra changes
* feat: codify times_derived + level on Document (#260 )
* feat: codify times_derived + level on Document
* fix: CR comment
* fix: CodeRabbit comments
* fix: batch migrations; move types; remove fields from payload
* fix: rm duplicate table args
* fix: add messages.id FK
2025-11-07 13:22:24 -05:00
Rajat Ahuja
097f3b31a0
align DB state to sqlalchemy model definitions ( #245 )
...
* feat: align DB schema with sqlalchemy model definitions
* test: add test for new migration file
* fix: add pk for message embeddings table
* fix: add naming constraint
* fix: align more indexes + unique constraints --> rm redundancy
* fix: add missing indexes
* Fix Server Default Migrations and add in appropriate Server Defaults (#252 )
* fix: Improve alembic migration reliability
* fix: Ensure alembic migrations use a session pooler (#247 )
* fix: Ensure alembic migrations use a session pooler
* fix: bump batch size; fix document delete in 08894082221a (#249 )
* chore: add alembic logging
* fix (alembic): remove order by in batches
* fix: fkey -> fk
* chore: code rabbit
---------
Co-authored-by: Rajat Ahuja <rahuja445@gmail.com>
* fix: Add server defaults to appropriate columns
* chore: (tests) Add alembic migration test
---------
Co-authored-by: Rajat Ahuja <rahuja445@gmail.com>
* fix: align models with alembic check
---------
Co-authored-by: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com>
2025-11-03 14:58:12 -05:00
Vineeth Voruganti
6df41265ed
fix: Ensure alembic migrations use a session pooler ( #247 )
...
* fix: Ensure alembic migrations use a session pooler
* fix: bump batch size; fix document delete in 08894082221a (#249 )
* chore: add alembic logging
* fix (alembic): remove order by in batches
* fix: fkey -> fk
* chore: code rabbit
---------
Co-authored-by: Rajat Ahuja <rahuja445@gmail.com>
2025-10-28 17:41:49 -04:00
Rajat Ahuja
5db7b4948c
feat: introduce alembic migration verification ( #238 )
...
* feat: introducer migration verification checks
* fix: move verification to tests/alembic
* feat: add verification steps for all alembic migrations
* fix: isolate test runs and implement all migration tests
* test: parametrize
* fix: CR comments
* fix: Add README
* feat: add precommit hook for validating alembic
* fix: rm pytest-alembic package
* test: create bulk resources to test migration batching
* fix: add latest test
* fix: tests to handle non-standard schema
* chore: Code Rabbit nits
* fix: CR comments 1
---------
Co-authored-by: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com>
2025-10-23 16:24:35 -04:00