forked from tdm00/cfwheels-dbmigrate-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
apitabledefinitioncreate
Troy Murray edited this page Sep 19, 2011
·
2 revisions
Creates the table in the database, using the column definitions provided to the Table Definition object. If the force parameter was set when creating the Table Definition, then the table (if it already exists) will be dropped first.
t = createTable(name);
// ... one or more column definitions here ...
t.create();
Parameter | Type | Required | Default | Description | ||||
None | string | Yes | one or more column names, comma delimited |