@@ -73,7 +73,7 @@ export const fromDatabase = async (
7373 SELECT
7474 *
7575 FROM information_schema.columns
76- WHERE table_schema = '${ schema } ' and table_name !== '__drizzle_migrations'
76+ WHERE table_schema = '${ schema } ' and table_name != '__drizzle_migrations'
7777 ORDER BY lower(table_name), ordinal_position;
7878 ` ) . then ( ( rows ) => {
7979 const filtered = rows . filter ( ( it ) => tablesAndViews . some ( ( x ) => it [ 'TABLE_NAME' ] === x . name ) ) ;
@@ -89,7 +89,7 @@ export const fromDatabase = async (
8989 *
9090 FROM INFORMATION_SCHEMA.STATISTICS
9191 WHERE INFORMATION_SCHEMA.STATISTICS.TABLE_SCHEMA = '${ schema } '
92- AND INFORMATION_SCHEMA.STATISTICS.INDEX_NAME !== 'PRIMARY'
92+ AND INFORMATION_SCHEMA.STATISTICS.INDEX_NAME != 'PRIMARY'
9393 ORDER BY lower(INDEX_NAME);
9494 ` ) . then ( ( rows ) => {
9595 const filtered = rows . filter ( ( it ) => tablesAndViews . some ( ( x ) => it [ 'TABLE_NAME' ] === x . name ) ) ;
@@ -206,7 +206,7 @@ export const fromDatabase = async (
206206 FROM information_schema.table_constraints t
207207 LEFT JOIN information_schema.key_column_usage k USING(constraint_name,table_schema,table_name)
208208 WHERE t.constraint_type='PRIMARY KEY'
209- AND table_name !== '__drizzle_migrations'
209+ AND table_name != '__drizzle_migrations'
210210 AND t.table_schema = '${ schema } '
211211 ORDER BY ordinal_position
212212 ` ) . then ( ( rows ) => {
@@ -259,7 +259,7 @@ export const fromDatabase = async (
259259 FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE kcu
260260 LEFT JOIN information_schema.referential_constraints rc ON kcu.CONSTRAINT_NAME = rc.CONSTRAINT_NAME
261261 WHERE kcu.TABLE_SCHEMA = '${ schema } '
262- AND kcu.CONSTRAINT_NAME !== 'PRIMARY'
262+ AND kcu.CONSTRAINT_NAME != 'PRIMARY'
263263 AND kcu.REFERENCED_TABLE_NAME IS NOT NULL;
264264 ` ) . then ( ( rows ) => {
265265 queryCallback ( 'fks' , rows , null ) ;
0 commit comments