mirror of
https://github.com/withastro/astro.git
synced 2025-03-24 23:21:57 -05:00
[ci] format
This commit is contained in:
parent
9f422e9bd3
commit
652bd497dc
4 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,6 @@
|
|||
import type { AstroConfig } from 'astro';
|
||||
import type { Arguments } from 'yargs-parser';
|
||||
import { MIGRATION_VERSION } from '../../../consts.js';
|
||||
import { getManagedAppTokenOrExit } from '../../../tokens.js';
|
||||
import { type DBConfig, type DBSnapshot } from '../../../types.js';
|
||||
import { getRemoteDatabaseUrl } from '../../../utils.js';
|
||||
|
@ -10,7 +11,6 @@ import {
|
|||
getMigrationQueries,
|
||||
getProductionCurrentSnapshot,
|
||||
} from '../../migration-queries.js';
|
||||
import { MIGRATION_VERSION } from '../../../consts.js';
|
||||
|
||||
export async function cmd({
|
||||
dbConfig,
|
||||
|
|
|
@ -14,6 +14,7 @@ import {
|
|||
schemaTypeToSqlType,
|
||||
} from '../../runtime/queries.js';
|
||||
import { isSerializedSQL } from '../../runtime/types.js';
|
||||
import { MIGRATION_VERSION } from '../consts.js';
|
||||
import { RENAME_COLUMN_ERROR, RENAME_TABLE_ERROR } from '../errors.js';
|
||||
import {
|
||||
type BooleanColumn,
|
||||
|
@ -32,7 +33,6 @@ import {
|
|||
columnSchema,
|
||||
} from '../types.js';
|
||||
import { getRemoteDatabaseUrl } from '../utils.js';
|
||||
import { MIGRATION_VERSION } from '../consts.js';
|
||||
|
||||
const sqlite = new SQLiteAsyncDialect();
|
||||
const genTempTableName = customAlphabet('abcdefghijklmnopqrstuvwxyz', 10);
|
||||
|
|
|
@ -16,4 +16,4 @@ export const DB_PATH = '.astro/content.db';
|
|||
|
||||
export const CONFIG_FILE_NAMES = ['config.ts', 'config.js', 'config.mts', 'config.mjs'];
|
||||
|
||||
export const MIGRATION_VERSION = "2024-03-12";
|
||||
export const MIGRATION_VERSION = '2024-03-12';
|
||||
|
|
|
@ -4,10 +4,10 @@ import {
|
|||
getCollectionChangeQueries,
|
||||
getMigrationQueries,
|
||||
} from '../../dist/core/cli/migration-queries.js';
|
||||
import { MIGRATION_VERSION } from '../../dist/core/consts.js';
|
||||
import { tableSchema } from '../../dist/core/types.js';
|
||||
import { column, defineTable } from '../../dist/runtime/config.js';
|
||||
import { NOW } from '../../dist/runtime/index.js';
|
||||
import { MIGRATION_VERSION } from '../../dist/core/consts.js';
|
||||
|
||||
const TABLE_NAME = 'Users';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue