toTableInfo method

TableInfo toTableInfo()

Converts the table snapshot to the TableInfo the DDL generators consume.

Implementation

TableInfo toTableInfo() {
  return TableInfo(
    name: name,
    columns: [for (final column in columns.values) column.toColumnInfo()],
    checks: checks,
  );
}