This interface tests the DatabaseColumnService which orchestrates the domain actions for database column operations using ColumnDefinition DTOs.
Note: This test interface uses the DatabaseColumnService which coordinates:
• CreateDatabaseColumn action (using ColumnDefinition DTO)
• UpdateDatabaseColumn action (using ColumnDefinition DTO)
• DeleteDatabaseColumn action (using column name)
• ListDatabaseColumns action
Make sure you have RecordTypes created for the tables you want to test with.
Test the DatabaseColumnService with a sample column creation using ColumnDefinition DTO and the first available RecordType.
Creates a ColumnDefinition DTO and uses the DatabaseColumnService.createColumn() method.
Updates an existing column using ColumnDefinition DTO and the DatabaseColumnService.updateColumn() method.
Uses the DatabaseColumnService.deleteColumn() method to remove a column from the table.
Lists all columns in a table using the DatabaseColumnService.listColumns() method.