Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: knex
node v13.14.0
endpoint
share
tweet
const Knex = require('knex'); const knex = Knex({ client: 'pg', }); knex.schema.alterTable('appointments', table => { table.enu('type', ['video', 'physical'], { useNative: true, enumName: 'request_type' }).alter(); }).toSQL()
Created from: https://npm.runkit.com/knex
Loading…
Clone and edit this document