another passer, 2 more to go

This commit is contained in:
filipriec
2025-07-20 11:57:46 +02:00
parent bcb433d7b2
commit 84871faad4
2 changed files with 38 additions and 5 deletions

View File

@@ -15,8 +15,8 @@ use crate::table_script::handlers::dependency_analyzer::DependencyAnalyzer;
const SYSTEM_COLUMNS: &[&str] = &["id", "deleted", "created_at"];
// Define prohibited data types for Steel scripts (boolean is explicitly allowed)
const PROHIBITED_TYPES: &[&str] = &["BIGINT", "DATE", "TIMESTAMPTZ"];
const MATH_PROHIBITED_TYPES: &[&str] = &["TEXT", "BOOLEAN"];
const PROHIBITED_TYPES: &[&str] = &["DATE", "TIMESTAMPTZ"];
const MATH_PROHIBITED_TYPES: &[&str] = &["BIGINT", "TEXT", "BOOLEAN"];
// Math operations that Steel Decimal will transform
const MATH_OPERATIONS: &[&str] = &[