check_audit_fields
Validates CREATE TABLE statements include all mandatory BSG audit fields with correct types and a properly named PRIMARY KEY.
Instructions
Validates that a CREATE TABLE statement includes all mandatory BSG audit fields (Estado, UsuarioCreacion, UsuarioModificacion, FechaCreacion, FechaModificacion, RowVersion) with correct types and a properly named PRIMARY KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The CREATE TABLE SQL statement to check |