Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Create a new schema.

Examples

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

Parameters

schema: string