diff --git a/src/schema/column-definition-builder.ts b/src/schema/column-definition-builder.ts index 3f638b765..d68236655 100644 --- a/src/schema/column-definition-builder.ts +++ b/src/schema/column-definition-builder.ts @@ -296,7 +296,7 @@ export class ColumnDefinitionBuilder implements OperationNodeSource { * db.schema * .createTable('person') * .addColumn('full_name', 'varchar(255)', (col) => col - * .generatedAlwaysAs("concat(first_name, ' ', last_name)") + * .generatedAlwaysAs(sql`concat(first_name, ' ', last_name)`) * .stored() * ) * .execute()