Built motion from commit f74363e9.|2.6.34
[motion2.git] / server / api / user-setting / user-setting.model.js
index fe03e9a..deae004 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8130=['UserSetting','user_settings','clientSideLoggingEnabled','clientSideLoggingEnabledSince','./user-setting.attributes','exports','define'];(function(_0x9fd887,_0x47f76c){var _0x1a54ab=function(_0xb65c08){while(--_0xb65c08){_0x9fd887['push'](_0x9fd887['shift']());}};_0x1a54ab(++_0x47f76c);}(_0x8130,0x146));var _0x0813=function(_0x500f1b,_0x25bf46){_0x500f1b=_0x500f1b-0x0;var _0x2f25a1=_0x8130[_0x500f1b];return _0x2f25a1;};'use strict';var attributes=require(_0x0813('0x0'));module[_0x0813('0x1')]=function(_0x5038a7){return _0x5038a7[_0x0813('0x2')](_0x0813('0x3'),attributes,{'tableName':_0x0813('0x4'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x20cc2e){if(!_0x20cc2e[_0x0813('0x5')])_0x20cc2e[_0x0813('0x6')]=null;else if(_0x20cc2e['clientSideLoggingEnabledSince']===null)_0x20cc2e[_0x0813('0x6')]=new Date();}}});};
\ No newline at end of file
+var _0xb74d=['clientSideLoggingEnabled','clientSideLoggingEnabledSince','./user-setting.attributes','UserSetting'];(function(_0x3c10d8,_0x4ab5ff){var _0x1ff35a=function(_0x34848e){while(--_0x34848e){_0x3c10d8['push'](_0x3c10d8['shift']());}};_0x1ff35a(++_0x4ab5ff);}(_0xb74d,0x16e));var _0xdb74=function(_0x507965,_0x4944f4){_0x507965=_0x507965-0x0;var _0x3608fc=_0xb74d[_0x507965];return _0x3608fc;};'use strict';var attributes=require(_0xdb74('0x0'));module['exports']=function(_0x350d0d){return _0x350d0d['define'](_0xdb74('0x1'),attributes,{'tableName':'user_settings','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x1ba155){if(!_0x1ba155[_0xdb74('0x2')])_0x1ba155[_0xdb74('0x3')]=null;else if(_0x1ba155['clientSideLoggingEnabledSince']===null)_0x1ba155[_0xdb74('0x3')]=new Date();}}});};
\ No newline at end of file