Skip to content

Instantly share code, notes, and snippets.

View carvalholeo's full-sized avatar
:dependabot:
Developing and studying

Léo Carvalho carvalholeo

:dependabot:
Developing and studying
View GitHub Profile
import Knex from "knex";
export async function up(knex: Knex): Promise<void> {
return await knex.schema.createTable("permissions", table => {
table.increments("id")
.primary();
table.string("name")
.notNullable();