create_table (ActiveRecord::ConnectionAdapters::SchemaStatements)

    # File lib/active_record/connection_adapters/abstract/schema_statements.rb, line 100
          def create_table(table_name, options = {})
            table_definition = TableDefinition.new(self)
            table_definition.primary_key(options[:primary_key] || Base.get_primary_key(table_name.to_s.singularize)) unless options[:id] == false

            yield table_definition

            if options[:force] && table_exists?(table_name)
              drop_table(table_name, options)
            end

            create_sql = "CREATE#{' TEMPORARY' if options[:temporary]} TABLE "
            create_sql << "#{quote_table_name(table_name)} ("
            create_sql << table_definition.to_sql
            create_sql << ") #{options[:options]}"
            execute create_sql
          end