mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -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/*'],
|
group: ['../core/*'],
|
||||||
allowTypeImports: true,
|
allowTypeImports: true,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
import { type SQL } from 'drizzle-orm';
|
import { type SQL } from 'drizzle-orm';
|
||||||
import { SQLiteAsyncDialect } from 'drizzle-orm/sqlite-core';
|
import { SQLiteAsyncDialect } from 'drizzle-orm/sqlite-core';
|
||||||
import { bold } from 'kleur/colors';
|
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 {
|
import type {
|
||||||
BooleanColumn,
|
BooleanColumn,
|
||||||
ColumnType,
|
ColumnType,
|
||||||
|
@ -17,6 +11,12 @@ import type {
|
||||||
NumberColumn,
|
NumberColumn,
|
||||||
TextColumn,
|
TextColumn,
|
||||||
} from '../core/types.js';
|
} 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 { hasPrimaryKey } from './index.js';
|
||||||
import { isSerializedSQL } from './types.js';
|
import { isSerializedSQL } from './types.js';
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@ import { LibsqlError } from '@libsql/client';
|
||||||
import { type SQL, sql } from 'drizzle-orm';
|
import { type SQL, sql } from 'drizzle-orm';
|
||||||
import type { LibSQLDatabase } from 'drizzle-orm/libsql';
|
import type { LibSQLDatabase } from 'drizzle-orm/libsql';
|
||||||
import { SQLiteAsyncDialect } from 'drizzle-orm/sqlite-core';
|
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 { type DBTables } from '../core/types.js';
|
||||||
|
import { SEED_DEFAULT_EXPORT_ERROR, SEED_ERROR } from './errors.js';
|
||||||
import { getCreateIndexQueries, getCreateTableQuery } from './queries.js';
|
import { getCreateIndexQueries, getCreateTableQuery } from './queries.js';
|
||||||
|
|
||||||
const sqlite = new SQLiteAsyncDialect();
|
const sqlite = new SQLiteAsyncDialect();
|
||||||
|
|
Loading…
Add table
Reference in a new issue