getTargetTableDefinition method

Future<List<TableDefinition>> getTargetTableDefinition()

Returns the target structure of the database defined in the yaml files of the protocol folder. This includes the developers project, all used modules and the main serverpod package.

This information can be used for database migration.

See also:

Implementation

_i2.Future<List<_i8.TableDefinition>> getTargetTableDefinition() =>
    caller.callServerEndpoint<List<_i8.TableDefinition>>(
      'insights',
      'getTargetTableDefinition',
      {},
    );