mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
[ci] format
This commit is contained in:
parent
764d67fc3f
commit
4abdb9d285
3 changed files with 13 additions and 13 deletions
|
@ -148,11 +148,11 @@ module.exports = {
|
|||
{
|
||||
group: ['../core/*'],
|
||||
allowTypeImports: true,
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
import { type SQL } from 'drizzle-orm';
|
||||
import { SQLiteAsyncDialect } from 'drizzle-orm/sqlite-core';
|
||||
import { bold } from 'kleur/colors';
|
||||
import {
|
||||
FOREIGN_KEY_DNE_ERROR,
|
||||
FOREIGN_KEY_REFERENCES_EMPTY_ERROR,
|
||||
FOREIGN_KEY_REFERENCES_LENGTH_ERROR,
|
||||
REFERENCE_DNE_ERROR,
|
||||
} from './errors.js';
|
||||
import type {
|
||||
BooleanColumn,
|
||||
ColumnType,
|
||||
|
@ -17,6 +11,12 @@ import type {
|
|||
NumberColumn,
|
||||
TextColumn,
|
||||
} from '../core/types.js';
|
||||
import {
|
||||
FOREIGN_KEY_DNE_ERROR,
|
||||
FOREIGN_KEY_REFERENCES_EMPTY_ERROR,
|
||||
FOREIGN_KEY_REFERENCES_LENGTH_ERROR,
|
||||
REFERENCE_DNE_ERROR,
|
||||
} from './errors.js';
|
||||
import { hasPrimaryKey } from './index.js';
|
||||
import { isSerializedSQL } from './types.js';
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ import { LibsqlError } from '@libsql/client';
|
|||
import { type SQL, sql } from 'drizzle-orm';
|
||||
import type { LibSQLDatabase } from 'drizzle-orm/libsql';
|
||||
import { SQLiteAsyncDialect } from 'drizzle-orm/sqlite-core';
|
||||
import { SEED_DEFAULT_EXPORT_ERROR, SEED_ERROR } from './errors.js';
|
||||
import { type DBTables } from '../core/types.js';
|
||||
import { SEED_DEFAULT_EXPORT_ERROR, SEED_ERROR } from './errors.js';
|
||||
import { getCreateIndexQueries, getCreateTableQuery } from './queries.js';
|
||||
|
||||
const sqlite = new SQLiteAsyncDialect();
|
||||
|
|
Loading…
Reference in a new issue