def get_create_table_sql(self, table, create_flags=CREATE_INDEXES):
        """
        Returns the SQL statement(s) to create a table
        with the specified name, columns and constraints
        on this platform.

        :param table: The table
        :type table: Table

        :type create_flags: int

        :rtype: str
        """
        table_name = table.get_quoted_name(self)
        options = dict((k, v) for k, v in table.get_options().items())

        options['unique_constraints'] = OrderedDict()
        options['indexes'] = OrderedDict()
        options['primary'] = []

        if 0 > create_flags & self.CREATE_INDEXES:
            for index in table.get_indexes().values():
                if index.is_primary():
                    options['primary'] = index.get_quoted_columns(self)
                    options['primary_index'] = index
                else:
                    options['indexes'][index.get_quoted_name(self)] = index

        columns = OrderedDict()

        for column in table.get_columns().values():
            column_data = column.to_dict()
            column_data['name'] = column.get_quoted_name(self)
            if column.has_platform_option('version'):
                column_data['version'] = column.get_platform_option('version')
            else:
                column_data['version'] = False

            # column_data['comment'] = self.get_column_comment(column)

            if column_data['type'] == 'string' and  column_data['length'] is None:
                column_data['length'] = 255

            if column.get_name() in options['primary']:
                column_data['primary'] = True

            columns[column_data['name']] = column_data

        if create_flags & self.CREATE_FOREIGNKEYS > 0:
            options['foreign_keys'] = []
            for fk in table.get_foreign_keys().values():
                options['foreign_keys'].append(fk)

        sql = self._get_create_table_sql(table_name, columns, options)

        # Comments?

        return sql
dataset/ETHPy150Open sdispater/orator/orator/dbal/platforms/platform.py/Platform.get_create_table_sql/swapped operands of `>`