mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Patch Tuesday 🐸 (#17530)
* Update root deps * Reformat files with new prettier version * Update `directus` deps * Update `@directus/app` deps * Update `@directus/shared` deps * Update components snapshots after updates prop order has changed * Update `extensions-sdk` deps * pin version of zod in shared * Update `@directus/storage` deps * Update `@directus/storage-driver-azure` deps * Update `storage-driver-cloudinary` deps * Update `@directus/storage-driver-cloudinary` deps * Update `@directus/storage-driver-local` deps * Update `@directus/storage-driver-s3` deps * Update `@directus/utils` deps --------- Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
This commit is contained in:
@@ -5,7 +5,7 @@ export class SchemaHelperCockroachDb extends SchemaHelper {
|
||||
async changeToType(
|
||||
table: string,
|
||||
column: string,
|
||||
type: typeof KNEX_TYPES[number],
|
||||
type: (typeof KNEX_TYPES)[number],
|
||||
options: Options = {}
|
||||
): Promise<void> {
|
||||
await this.changeToTypeByCopy(table, column, type, options);
|
||||
|
||||
@@ -6,7 +6,7 @@ export class SchemaHelperOracle extends SchemaHelper {
|
||||
async changeToType(
|
||||
table: string,
|
||||
column: string,
|
||||
type: typeof KNEX_TYPES[number],
|
||||
type: (typeof KNEX_TYPES)[number],
|
||||
options: Options = {}
|
||||
): Promise<void> {
|
||||
await this.changeToTypeByCopy(table, column, type, options);
|
||||
|
||||
@@ -25,7 +25,7 @@ export abstract class SchemaHelper extends DatabaseHelper {
|
||||
async changeToType(
|
||||
table: string,
|
||||
column: string,
|
||||
type: typeof KNEX_TYPES[number],
|
||||
type: (typeof KNEX_TYPES)[number],
|
||||
options: Options = {}
|
||||
): Promise<void> {
|
||||
await this.knex.schema.alterTable(table, (builder) => {
|
||||
@@ -50,7 +50,7 @@ export abstract class SchemaHelper extends DatabaseHelper {
|
||||
protected async changeToTypeByCopy(
|
||||
table: string,
|
||||
column: string,
|
||||
type: typeof KNEX_TYPES[number],
|
||||
type: (typeof KNEX_TYPES)[number],
|
||||
options: Options
|
||||
): Promise<void> {
|
||||
const tempName = `${column}__temp`;
|
||||
|
||||
Reference in New Issue
Block a user