Grammar for the schema builder.
The possible column modifiers.
Ensures the response is returned in the same format as other clients.
Compile a create table command.
Checks if the table is commented
TODO: Handle max comment length.
Compile the query to determine if a table exists.
Compile a query to determine if a column exists.
Compile an add command.
Compile a primary key command.
Compile a unique key command.
Compile a plain index key command.
Compile an index creation command.
Compile a drop column command.
Compile a drop primary key command.
Compile a drop unique key command.
Compile a drop index command.
Compile a drop foreign key command.
Compile a rename table command.
Compile a rename column command.
Compiles the comment on the table.
Handled on create table...
Create the column definition for a text type.
Create the column type definition for a bigint type.
Create the column definition for a integer type.
Create the column definition for a float type.
Create the column definition for a decimal type.
Create the column definition for a boolean type.
Create the column definition for a enum type.
Create the column definition for a date-time type.
Create the column definition for a timestamp type.
Create the column definition for a bit type.
Get the SQL for an unsigned column modifier.
Get the SQL for a default column modifier.
TODO - no default on blob/text
Get the SQL for an auto-increment column modifier.
Get the SQL for an "after" column modifier.
Get the SQL for a comment column modifier.
TODO: Look into limiting this length.
MySQL SchemaGrammar