Fix kysely imports in migrations

This commit is contained in:
Alex Gleason 2024-05-01 19:16:12 -05:00
parent 87264eeef1
commit 439dfca311
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
15 changed files with 15 additions and 15 deletions

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(_db: Kysely<any>): Promise<void> {
}

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(_db: Kysely<any>): Promise<void> {
}

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(_db: Kysely<any>): Promise<void> {
}

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(_db: Kysely<any>): Promise<void> {
}

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema.dropTable('users').ifExists().execute();

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema.dropIndex('idx_tags_tag').execute();

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema.alterTable('events').addColumn('deleted_at', 'integer').execute();

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema.createIndex('idx_author_stats_pubkey').on('author_stats').column('pubkey').execute();

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema

View File

@ -1,4 +1,4 @@
import { Kysely } from '@/deps.ts';
import { Kysely } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await db.schema