refactor(organizations): remove searchable feature migration files

- Deleted the migration files for adding and rolling back the 'searchable' column in the organizations table.
- Introduced a new migration for creating organization-related tables, consolidating previous migrations into a single structure for better organization management.
This commit is contained in:
wizardchen
2026-01-30 19:41:19 +08:00
committed by lyingbug
parent 2818a4fe8f
commit b1b6396ac0
4 changed files with 5 additions and 13 deletions
@@ -1,8 +0,0 @@
-- Migration: 000012_organizations_searchable
-- Description: Add searchable flag to organizations (open for discovery)
DO $$ BEGIN RAISE NOTICE '[Migration 000012] Adding searchable to organizations...'; END $$;
ALTER TABLE organizations ADD COLUMN IF NOT EXISTS searchable BOOLEAN NOT NULL DEFAULT FALSE;
COMMENT ON COLUMN organizations.searchable IS 'When true, space appears in search and can be joined by org ID';
DO $$ BEGIN RAISE NOTICE '[Migration 000012] Organizations searchable column added.'; END $$;