Skip to content

knext #25

@nickgrato

Description

@nickgrato

when trying to use knex.schema.enableExtendion('vector') I get error "Property 'enableExtension' does not exist on type 'SchemaBuilder'."

looking at the knex node module looks like 'enableExtension' is not there?

/node_modules/knex/lib/schema/builder.js

// Each of the schema builder methods just add to the
// "_sequence" array for consistency.
[
'createTable',
'createTableIfNotExists',
'createTableLike',
'createView',
'createViewOrReplace',
'createMaterializedView',
'refreshMaterializedView',
'dropView',
'dropViewIfExists',
'dropMaterializedView',
'dropMaterializedViewIfExists',
'createSchema',
'createSchemaIfNotExists',
'dropSchema',
'dropSchemaIfExists',
'createExtension',
'createExtensionIfNotExists',
'dropExtension',
'dropExtensionIfExists',
'table',
'alterTable',
'view',
'alterView',
'hasTable',
'hasColumn',
'dropTable',
'renameTable',
'renameView',
'dropTableIfExists',
'raw',
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions