def create_table_statement(table_name, table)
      normalize_primary_key(table)
      add_line "create_table #{table_name.inspect}#{pretty_hash(table[:table_options])} do"
      indent do
        output_columns(table[:columns], table[:primary_key])
        output_indexes(table[:indexes])
        output_primary_key(table)
      end
      add_line "end"
    end
def create_table_statement(table_name, table)
      normalize_primary_key(table)
      add_line "create_table 
      indent do
        output_columns(table[:columns], table[:primary_key])
        output_indexes(table[:indexes])
        output_primary_key(table)
      end
      add_line "end"
    end
def create_table_statement ( table_name , table ) normalize_primary_key ( table ) add_line "create_table #{table_name.inspect}#{pretty_hash(table[:table_options])} do" indent do output_columns ( table [ :columns ] , table [ :primary_key ] ) output_indexes ( table [ :indexes ] ) output_primary_key ( table ) end add_line "end" end
Generates an individual create_table statement.
Generates an individual create_table statement .