Files
Enterprise-Knowledge-Base/migrations/versioned/000012_organizations.down.sql
T
wizardchen b1b6396ac0 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.
2026-02-09 11:40:25 +08:00

10 lines
415 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- Migration: 000011_organizations (down, merged 000011–000017, 000012)
DO $$ BEGIN RAISE NOTICE '[Migration 000011] Rolling back organization tables...'; END $$;
DROP TABLE IF EXISTS organization_join_requests;
DROP TABLE IF EXISTS kb_shares;
DROP TABLE IF EXISTS organization_members;
DROP TABLE IF EXISTS organizations;
DO $$ BEGIN RAISE NOTICE '[Migration 000011] Rollback completed successfully!'; END $$;