mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
fix: type MigrationRule
This commit is contained in:
parent
43accfc4f5
commit
1738b11f57
@ -88,7 +88,7 @@ export type DumpRules =
|
||||
| ({ skipped: true } & BaseDumpRules)
|
||||
| ({ group: BuiltInGroup | string } & BaseDumpRules);
|
||||
|
||||
export type MigrationRule = 'overwrite' | 'skip' | 'upsert' | 'schema-only' | 'insert-ignore';
|
||||
export type MigrationRule = 'overwrite' | 'skip' | 'upsert' | 'schema-only' | 'insert-ignore' | (string & {}) | null;
|
||||
|
||||
export interface CollectionOptions extends Omit<ModelOptions, 'name' | 'hooks'> {
|
||||
name: string;
|
||||
|
Loading…
x
Reference in New Issue
Block a user