demux-postgres
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Extra
Migration
History
Error
Massive
Action
Handler
Migration
constructor
down
Query
File
down
Sql
Path
name
schema
up
Query
File
up
Sql
Path
down
load
Query
File
up
Migration
Runner
Mismatched
Migrations
Error
Mismatched
Migrations
History
Error
Missing
Down
Query
Error
Missing
Schema
Error
Missing
Table
Error
Non
Existent
Migration
Error
Non
Unique
Migration
Name
Error
Non
Unique
Migration
Sequence
Error
Migration
Sequence
Hierarchy
Migration
Index
Constructors
constructor
Properties
down
Query
File
down
Sql
Path
name
schema
up
Query
File
up
Sql
Path
Methods
down
load
Query
File
up
Constructors
constructor
new
Migration
(
name
:
string
, schema
:
string
, upSqlPath
:
string
, downSqlPath
?:
string
|
null
)
:
Migration
Parameters
name:
string
schema:
string
upSqlPath:
string
Default value
downSqlPath:
string
|
null
= null
Returns
Migration
Properties
Protected
down
Query
File
down
Query
File
:
QueryFile
|
null
= null
Protected
down
Sql
Path
down
Sql
Path
:
string
|
null
name
name
:
string
Protected
schema
schema
:
string
Protected
up
Query
File
up
Query
File
:
QueryFile
Protected
up
Sql
Path
up
Sql
Path
:
string
Methods
down
down
(
pgp
:
IDatabase
<
__type
>
)
:
Promise
<
void
>
Parameters
pgp:
IDatabase
<
__type
>
Returns
Promise
<
void
>
Private
load
Query
File
load
Query
File
(
filepath
:
string
)
:
QueryFile
Parameters
filepath:
string
Returns
QueryFile
up
up
(
pgp
:
IDatabase
<
__type
>
)
:
Promise
<
void
>
Parameters
pgp:
IDatabase
<
__type
>
Returns
Promise
<
void
>