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
|
||||
}
|
||||
}
|
|
@ -39,4 +39,14 @@ function Store(options) {
|
|||
// TODO determine how to
|
||||
|
||||
this.schema = new Schema(adapter, connection.options);
|
||||
}
|
||||
}
|
||||
|
||||
inherits(Store, AsteroidModule);
|
||||
|
||||
/**
|
||||
* Dependencies
|
||||
*/
|
||||
|
||||
Store.dependencies = {
|
||||
"connection": {module: "connection", optional: true}
|
||||
};
|
Loading…
Reference in New Issue