Schema runner for org_storage_snapshots

FeatureInitializerService
Shipped
August 9, 2026 at 4:41 AM UTC
Author
Kamo
Commit
5b68459

Mirrors OrgStorageSnapshot as explicit DDL, per the house style — ddl-auto creates the table first, so the CREATE is a fallback and the SET DEFAULTs are what actually make it usable from plain SQL (Hibernate emits no column defaults for values the entity fills in Java). Also indexes imgs on (ORG_ID, DATE_CREATED) and (ORG_ID, DATE_TRASHED). Storage aggregation reads both on every summary request and the existing indexes are all assoc- and folder-shaped. Run against production 2026-08-08; org_storage_snapshots verified with all 16 columns and its uniqueness constraint before the shared-lib entity was pushed.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing