drizzle-orm-sqlite
Advanced tools
Comparing version 0.13.0 to 0.14.0-beta.1
import { Database, RunResult } from 'better-sqlite3'; | ||
import { Logger, MigrationConfig } from 'drizzle-orm'; | ||
import { Logger } from 'drizzle-orm'; | ||
import { MigrationConfig } from 'drizzle-orm/migrator'; | ||
import { BaseSQLiteDatabase } from '../db'; | ||
@@ -4,0 +5,0 @@ import { SQLiteDialect, SQLiteSyncDialect } from '../dialect'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SQLiteConnector = void 0; | ||
const drizzle_orm_1 = require("drizzle-orm"); | ||
const migrator_1 = require("drizzle-orm/migrator"); | ||
const db_1 = require("../db"); | ||
@@ -22,3 +22,3 @@ const dialect_1 = require("../dialect"); | ||
migrate(config) { | ||
const migrations = (0, drizzle_orm_1.readMigrationFiles)(config); | ||
const migrations = (0, migrator_1.readMigrationFiles)(config); | ||
const session = this.getSession(); | ||
@@ -25,0 +25,0 @@ this.dialect.migrate(migrations, session); |
/// <reference types="bun-types" /> | ||
import { Database } from 'bun:sqlite'; | ||
import { Logger, MigrationConfig } from 'drizzle-orm'; | ||
import { Logger } from 'drizzle-orm'; | ||
import { MigrationConfig } from 'drizzle-orm/migrator'; | ||
import { BaseSQLiteDatabase } from '../db'; | ||
@@ -5,0 +6,0 @@ import { SQLiteSyncDialect } from '../dialect'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SQLiteBunConnector = void 0; | ||
const drizzle_orm_1 = require("drizzle-orm"); | ||
const migrator_1 = require("drizzle-orm/migrator"); | ||
const db_1 = require("../db"); | ||
@@ -22,3 +22,3 @@ const dialect_1 = require("../dialect"); | ||
migrate(config) { | ||
const migrations = (0, drizzle_orm_1.readMigrationFiles)(config); | ||
const migrations = (0, migrator_1.readMigrationFiles)(config); | ||
const session = this.getSession(); | ||
@@ -25,0 +25,0 @@ this.dialect.migrate(migrations, session); |
/// <reference types="@cloudflare/workers-types" /> | ||
import { Logger, MigrationConfig } from 'drizzle-orm'; | ||
import { Logger } from 'drizzle-orm'; | ||
import { MigrationConfig } from 'drizzle-orm/migrator'; | ||
import { BaseSQLiteDatabase } from '../db'; | ||
@@ -4,0 +5,0 @@ import { SQLiteAsyncDialect, SQLiteDialect } from '../dialect'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.D1Connector = void 0; | ||
const drizzle_orm_1 = require("drizzle-orm"); | ||
const migrator_1 = require("drizzle-orm/migrator"); | ||
const db_1 = require("../db"); | ||
@@ -22,3 +22,3 @@ const dialect_1 = require("../dialect"); | ||
migrate(config) { | ||
const migrations = (0, drizzle_orm_1.readMigrationFiles)(config); | ||
const migrations = (0, migrator_1.readMigrationFiles)(config); | ||
const session = this.getSession(); | ||
@@ -25,0 +25,0 @@ this.dialect.migrate(migrations, session); |
@@ -1,2 +0,2 @@ | ||
import { MigrationMeta } from 'drizzle-orm'; | ||
import { MigrationMeta } from 'drizzle-orm/migrator'; | ||
import { Query, SQL } from 'drizzle-orm/sql'; | ||
@@ -3,0 +3,0 @@ import { SQLiteDeleteConfig, SQLiteInsertConfig, SQLiteUpdateConfig, SQLiteUpdateSet } from './query-builders'; |
{ | ||
"name": "drizzle-orm-sqlite", | ||
"version": "0.13.0", | ||
"version": "0.14.0-beta.1", | ||
"description": "Drizzle ORM package for SQLite database", | ||
@@ -30,3 +30,3 @@ "main": "index.js", | ||
"better-sqlite3": ">=7 <9", | ||
"drizzle-orm": ">=0.13.0 <0.14.0 || >=0.13.0-beta.0 <0.14.0-beta.0", | ||
"drizzle-orm": ">=0.14 <0.15", | ||
"sqlite3": ">=5 <6", | ||
@@ -33,0 +33,0 @@ "@cloudflare/workers-types": ">=3 <4" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
193339
117
2670