removeTable method

void removeTable(
  1. String name
)

Removes a Postgres/Supabase table from the target project by name.

Implementation

void removeTable(String name) {
  _queueRemoval(
    name: name,
    kind: 'table',
    declarationApi: 'table',
    declaredNames: _tableNames,
  );
  _rawMutations.add(
    (project) => postgres_helpers.removeTable(project, name: name),
  );
}