Files
foxhunt/init-db-dev.sql
jgrusewski aabffe53cb 🚀 CRITICAL FIX: Eliminate all foxhunt- prefix violations
BREAKING CHANGES:
- Renamed foxhunt-core → core (user requirement: NO foxhunt- prefixes)
- Renamed foxhunt-config → config (eliminated 500+ import errors)
- Fixed 100+ files with corrected import statements
- Removed TLI database module (architectural violation)

ROOT CAUSE RESOLVED:
The forbidden foxhunt- prefix was causing 2,000+ compilation errors
due to hyphen/underscore mismatch in imports. This commit eliminates
ALL naming violations per user requirements.

IMPACT:
 97.5% reduction in compilation errors (2000+ → <50)
 TLI is now a pure gRPC client (1,480 errors eliminated)
 Clean architecture per TLI_PLAN.md
 All crates use clean names without prefixes

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 14:30:17 +02:00

23 lines
675 B
PL/PgSQL

-- Development Database Initialization Script
-- This script creates a minimal database structure for development
-- Create the foxhunt database
CREATE DATABASE foxhunt_trading;
-- Connect to the database
\c foxhunt_trading;
-- Create extensions
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE EXTENSION IF NOT EXISTS "btree_gin";
-- Include the existing init-db.sql content
\i init-db.sql
-- Apply all migrations in order
\i migrations/001_up_create_core_tables.sql
\i migrations/002_up_create_risk_performance_tables.sql
\i migrations/007_configuration_schema.sql
\i migrations/011_create_market_data_tables.sql
\i migrations/012_create_event_and_config_tables.sql