# The DatabaseTable object

A database table is a table that already exists in a Postgres database of a Lakebase database
 instance and is registered in Unity Catalog, so that it is governed and discoverable there while
 the Postgres table remains the source of truth. Unlike a synced table, no data is copied from a
 Unity Catalog source table into Postgres.

## Attributes

- `name` (string, Public Preview)
  Full three-part (catalog, schema, table) name of the table in Unity Catalog. The catalog must be a
   standard or default storage catalog; database tables cannot be registered in a database catalog.
   The schema and table parts must match the schema and table names of the Postgres table that is
   registered.
- `database_instance_name` (string, Public Preview)
  The name of the database instance that hosts the Postgres table. It must be set when creating a
   database table.
- `logical_database_name` (string, Public Preview)
  The name of the Postgres database in the instance that contains the table. It must be set when
   creating a database table. Tables in the system databases postgres, databricks_system, template0
   and template1, and tables in the schemas pg_catalog and information_schema, cannot be registered.

## Example

### Registered table

```json
{
  "name": "main.sales.orders",
  "database_instance_name": "sales-orders-db",
  "logical_database_name": "sales_orders"
}
```


