Libraries
← Back to Website
All Versions
Preparing search index...
@cleverbrush/orm
MigrationDiff
Interface MigrationDiff
Schema diff result between the code-first model and the live database.
interface
MigrationDiff
{
addColumns
:
AddColumnDiff
[]
;
addForeignKeys
:
AddForeignKeyDiff
[]
;
addIndexes
:
AddIndexDiff
[]
;
alterColumns
:
AlterColumnDiff
[]
;
dropColumns
:
string
[]
;
dropForeignKeys
:
string
[]
;
dropIndexes
:
string
[]
;
}
Index
Properties
add
Columns
add
Foreign
Keys
add
Indexes
alter
Columns
drop
Columns
drop
Foreign
Keys
drop
Indexes
Properties
add
Columns
addColumns
:
AddColumnDiff
[]
add
Foreign
Keys
addForeignKeys
:
AddForeignKeyDiff
[]
add
Indexes
addIndexes
:
AddIndexDiff
[]
alter
Columns
alterColumns
:
AlterColumnDiff
[]
drop
Columns
dropColumns
:
string
[]
drop
Foreign
Keys
dropForeignKeys
:
string
[]
drop
Indexes
dropIndexes
:
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
add
Columns
add
Foreign
Keys
add
Indexes
alter
Columns
drop
Columns
drop
Foreign
Keys
drop
Indexes
← Back to Website
All Versions
Libraries
Loading...
Schema diff result between the code-first model and the live database.