0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-24 23:21:57 -05:00

[ci] format

This commit is contained in:
Matthew Phillips 2024-03-07 16:38:45 +00:00 committed by astrobot-houston
parent 9f422e9bd3
commit 652bd497dc
4 changed files with 4 additions and 4 deletions

View file

@ -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,

View file

@ -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);

View file

@ -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';

View file

@ -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';