Libraries
← Back to Website
All Versions
Preparing search index...
@cleverbrush/knex-schema
AddColumnDiff
Interface AddColumnDiff
A column to add in a migration.
interface
AddColumnDiff
{
defaultValue
?:
any
;
name
:
string
;
nullable
:
boolean
;
onDelete
?:
string
;
onUpdate
?:
string
;
references
?:
{
column
:
string
;
table
:
string
}
;
type
:
string
;
}
Index
Properties
default
Value?
name
nullable
on
Delete?
on
Update?
references?
type
Properties
Optional
default
Value
defaultValue
?:
any
name
name
:
string
nullable
nullable
:
boolean
Optional
on
Delete
onDelete
?:
string
Optional
on
Update
onUpdate
?:
string
Optional
references
references
?:
{
column
:
string
;
table
:
string
}
type
type
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
default
Value
name
nullable
on
Delete
on
Update
references
type
← Back to Website
All Versions
Libraries
Loading...
A column to add in a migration.