import { Schema } from "https://deno.land/x/cotton@v0.7.5/mod.ts";
Database schema migration helper
Methods
createTable()
name: string,
fn: (builder: TableBuilder) => void,
options?: CreateTableOptions,
Create a table
dropTable(tableNames: string[], options?: { ifExists?: boolean; }): Promise<void>
Drop multiple tables
hasColumn(tableName: string, columnName: string): Promise<boolean>
Check if a column exists in a table