import { TableColumnOptions } from "./TableColumnOptions";
import { TableIndexOptions } from "./TableIndexOptions";
import { TableForeignKeyOptions } from "./TableForeignKeyOptions";
import { TableUniqueOptions } from "./TableUniqueOptions";
import { TableCheckOptions } from "./TableCheckOptions";
/**
 * Table options.
 */
export interface TableOptions {
    /**
     * Table name.
     */
    name: string;
    /**
     * Table columns.
     */
    columns?: TableColumnOptions[];
    /**
     * Table indices.
     */
    indices?: TableIndexOptions[];
    /**
     * Table foreign keys.
     */
    foreignKeys?: TableForeignKeyOptions[];
    /**
     * Table unique constraints.
     */
    uniques?: TableUniqueOptions[];
    /**
     * Table check constraints.
     */
    checks?: TableCheckOptions[];
    /**
     * Indicates if table was just created.
     * This is needed, for example to check if we need to skip primary keys creation
     * for new tables.
     */
    justCreated?: boolean;
    /**
     * Table engine.
     */
    engine?: string;
}
