Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions website/components/layouts/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ const Navbar = () => {

<div className="flex items-center justify-end gap-2 sm:gap-6 sm:min-w-[160px]">
<div className="flex items-center ml-1 sm:ml-4">
<Button variant="link" asChild>
<Link href="/packages">Packages</Link>
</Button>

<Button variant="link" asChild>
<Link href="/docs">Docs</Link>
</Button>
Expand Down
6 changes: 6 additions & 0 deletions website/content/docs/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ Use `dbdev install` to install a local TLE package into the connected database:
dbdev install --connection "postgresql://postgres:postgres@localhost:54322/postgres" path --directory ./pg_idkit
```

Or for a local package like `supa_privacy` or `supa_profile`:

```bash
dbdev install --connection "postgresql://postgres:postgres@localhost:54322/postgres" path --directory ./supa_privacy
```

The `path` source defaults to the current directory when `--directory` is omitted.

### List Installed Package Versions
Expand Down
13 changes: 13 additions & 0 deletions website/content/docs/install-a-package.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ For example, to install `kiwicopple@pg_idkit` version 0.0.4 in `extensions` sche
dbdev add -o "./migrations/" -v 0.0.4 -s extensions package -n kiwicopple@pg_idkit
```

Or to install the `jvent@supa_privacy` data anonymisation extension:

```bash
dbdev add -o "./migrations/" -v 1.0.0 -s extensions package -n jvent@supa_privacy
```

Or to install the `jvent@supa_profile` table profiling extension:

```bash
dbdev add -o "./migrations/" -v 1.0.0 -s extensions package -n jvent@supa_profile
```


To create a migration file to update to the latest version of a package, you need to specify the `-c` flag with the connection string to your database. The connection is used to check the current version of the package installed in the database and generate a migration file that will update it to the latest version available on database.dev.

```bash
Expand Down
5 changes: 3 additions & 2 deletions website/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import './.next/types/routes.d.ts'
/// <reference types="next/navigation-types/compat/navigation" />
import "./.next/dev/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
Loading