Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.SchemaModule#createSchema

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
method kysely.SchemaModule.prototype.createSchema
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/mod.ts";
const { SchemaModule } = kysely;

Create a new schema.

Examples

await db.schema
  .createSchema('some_schema')
  .execute()

Parameters

schema: string