From ad967af30bd08ed41727daf9c022098138877641 Mon Sep 17 00:00:00 2001 From: Mario564 Date: Mon, 7 Oct 2024 09:26:34 -0700 Subject: [PATCH] Format --- drizzle-kit/src/serializer/mysqlSerializer.ts | 2 +- drizzle-kit/src/serializer/pgSerializer.ts | 2 +- drizzle-kit/src/serializer/sqliteSerializer.ts | 2 +- drizzle-kit/tests/mysql.test.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drizzle-kit/src/serializer/mysqlSerializer.ts b/drizzle-kit/src/serializer/mysqlSerializer.ts index e6940e99b..c7f8c5a64 100644 --- a/drizzle-kit/src/serializer/mysqlSerializer.ts +++ b/drizzle-kit/src/serializer/mysqlSerializer.ts @@ -18,7 +18,7 @@ import { Table, UniqueConstraint, } from '../serializer/mysqlSchema'; -import { type DB, escapeSingleQuotes, unescapeSingleQuotes, getColumnCasing } from '../utils'; +import { type DB, escapeSingleQuotes, getColumnCasing, unescapeSingleQuotes } from '../utils'; import { sqlToStr } from '.'; // import { MySqlColumnWithAutoIncrement } from "drizzle-orm/mysql-core"; // import { MySqlDateBaseColumn } from "drizzle-orm/mysql-core"; diff --git a/drizzle-kit/src/serializer/pgSerializer.ts b/drizzle-kit/src/serializer/pgSerializer.ts index b12539d7b..b0676e4e6 100644 --- a/drizzle-kit/src/serializer/pgSerializer.ts +++ b/drizzle-kit/src/serializer/pgSerializer.ts @@ -32,7 +32,7 @@ import type { Table, UniqueConstraint, } from '../serializer/pgSchema'; -import { type DB, escapeSingleQuotes, isPgArrayType, unescapeSingleQuotes, getColumnCasing } from '../utils'; +import { type DB, escapeSingleQuotes, getColumnCasing, isPgArrayType, unescapeSingleQuotes } from '../utils'; import { sqlToStr } from '.'; export const indexName = (tableName: string, columns: string[]) => { diff --git a/drizzle-kit/src/serializer/sqliteSerializer.ts b/drizzle-kit/src/serializer/sqliteSerializer.ts index 00daa346c..d1840e947 100644 --- a/drizzle-kit/src/serializer/sqliteSerializer.ts +++ b/drizzle-kit/src/serializer/sqliteSerializer.ts @@ -22,7 +22,7 @@ import type { Table, UniqueConstraint, } from '../serializer/sqliteSchema'; -import { escapeSingleQuotes, type SQLiteDB, unescapeSingleQuotes, getColumnCasing } from '../utils'; +import { escapeSingleQuotes, getColumnCasing, type SQLiteDB, unescapeSingleQuotes } from '../utils'; import { sqlToStr } from '.'; export const generateSqliteSnapshot = ( diff --git a/drizzle-kit/tests/mysql.test.ts b/drizzle-kit/tests/mysql.test.ts index 5eb739b6e..bdcb9e54c 100644 --- a/drizzle-kit/tests/mysql.test.ts +++ b/drizzle-kit/tests/mysql.test.ts @@ -1,10 +1,10 @@ import { sql } from 'drizzle-orm'; import { + foreignKey, index, int, json, mysqlEnum, - foreignKey, mysqlSchema, mysqlTable, primaryKey,