pub fn build_scripts_schema() -> (String, Vec<String>, Vec<ColumnDef>)
Builds scripts schema, returns (time index, primary keys, column defs)