import { VersionInfo } from '@start9labs/start-sdk'

// Entity-model fix. Investor entities now come from the fundraising grid (one per
// row, all labeled "investor"; the confusing organization/lp split is gone), and
// PEOPLE come only from the contacts table. The grid's contacts are recorded as
// membership links to their investor rather than as duplicate people, which fixes
// the roughly-doubled people count. Rebuild the search index after upgrading.
export const v_0_1_0_48 = VersionInfo.of({
  version: '0.1.0:48',
  releaseNotes: {
    en_US: [
      'Fixes the entity counts: investors now come from the fundraising grid and',
      'people come from the contacts table, with the grid\'s contacts treated as',
      'memberships instead of duplicate people. Run Rebuild search index after',
      'upgrading to refresh the numbers.',
    ].join(' '),
  },
  migrations: { up: async () => {}, down: async () => {} },
})
