Class: SQL::TableCreator

Class | SQL::TableCreator
In: | lib/dm-migrations/sql/table_creator.rb
Parent: | Object

### Methods

column new now quoted_table_name to_sql uuid

### Classes and Modules

Class SQL::TableCreator::Column
Class SQL::TableCreator::SqlExpr

### Attributes

opts | [RW] |
table_name | [RW] |

### Public Class methods

new(adapter, table_name, opts = {}, &block)

### Public Instance methods

column(name, type, opts = {})
now()

A helper for using the native NOW() SQL function in a default

quoted_table_name()
to_sql()
uuid()

A helper for using the native UUID() SQL function in a default

[Validate]