import { VersionInfo } from '@start9labs/start-sdk' // First StartOS 0.4 release of Ten31 Database. // // Upgrade context: // * The 0.3.5 wrapper shipped at 0.1.0.38 (legacy, aarch64 only). // * This 0.4 wrapper is built for x86_64 and is intended for a // parallel install on a new StartOS 0.4 host. // * Data continuity is NOT handled by a StartOS-level in-place // upgrade (that path does not exist across StartOS majors). // Instead the container image is pre-seeded with a snapshot of // /data (crm.db, backups/, optional .crm-secret). On first boot // docker_entrypoint.sh copies that snapshot into the mounted // `main` volume if it is empty. // // Because both "up" and "down" paths are inside the same wrapper // lineage (and the first 0.4 release has no earlier 0.4 version // to migrate from), the migration functions are intentionally // no-ops. Future 0.4.x releases can chain off this node in the // version graph. export const v_0_1_0_39 = VersionInfo.of({ version: '0.1.0:39', releaseNotes: { en_US: [ 'First StartOS 0.4 package for Ten31 Database.', 'Built for x86_64; sideload-only during beta.', 'Container image ships with a baked-in /data snapshot so the', 'service boots with the existing investor and fundraising data,', 'saved views, backups, users, and app settings already in place.', 'No StartOS-level migration is performed from the 0.3.5 package;', 'this package is installed fresh on a 0.4 host.', ].join(' '), }, migrations: { up: async () => {}, down: async () => {}, }, })