Inherit store from asteroid module and add dependencies
This commit is contained in:
parent
57c02c0a8f
commit
abe07271fa
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"module": "oracle-connection",
|
||||
"options": {
|
||||
"hostname": "127.0.0.1",
|
||||
"host": "127.0.0.1",
|
||||
"port": 1234
|
||||
}
|
||||
}
|
|
@ -40,3 +40,13 @@ function Store(options) {
|
|||
|
||||
this.schema = new Schema(adapter, connection.options);
|
||||
}
|
||||
|
||||
inherits(Store, AsteroidModule);
|
||||
|
||||
/**
|
||||
* Dependencies
|
||||
*/
|
||||
|
||||
Store.dependencies = {
|
||||
"connection": {module: "connection", optional: true}
|
||||
};
|
Loading…
Reference in New Issue