DAD._table 改为 MOM._table
This commit is contained in:
@@ -9,11 +9,12 @@ const DAD = module.exports = function Action (prop) {
|
||||
this.type = this.constructor.name
|
||||
}
|
||||
DAD.__proto__ = Ling
|
||||
DAD._table = DAD.name
|
||||
|
||||
const MOM = DAD.prototype
|
||||
MOM.__proto__ = Ling.prototype
|
||||
|
||||
/** ****************** Shared by instances ********************/
|
||||
MOM._table = DAD.name
|
||||
MOM._tablekey = 'hash'
|
||||
MOM._model = {
|
||||
hash: { default: undefined, sqlite: 'TEXT UNIQUE', mysql: 'VARCHAR(64) PRIMARY KEY' }, // 不纳入签名和哈希
|
||||
|
||||
Reference in New Issue
Block a user