additionalSql method

TableBuilder<Key> additionalSql(
  1. String sql(
    1. Table table
    )
)

This additional sql will get executed immediately after table creation, This is useful for triggers, keep in mind all triggers written like this should have "IF NOT EXISTS" as the will get executed regardless Initialisation of this property is differed so it will always have all columns within it.

Implementation

TableBuilder<Key> additionalSql(String Function(Table table) sql) => this..sqlBuilders.add(sql);