Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / user-setting / user-setting.model.js
index 3458b68..441dc33 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x351d=['./user-setting.attributes','define','UserSetting','clientSideLoggingEnabledSince'];(function(_0x455833,_0xc94f4c){var _0x27f476=function(_0x2f887f){while(--_0x2f887f){_0x455833['push'](_0x455833['shift']());}};_0x27f476(++_0xc94f4c);}(_0x351d,0x90));var _0xd351=function(_0x4bc5c8,_0x41a17d){_0x4bc5c8=_0x4bc5c8-0x0;var _0x3245e7=_0x351d[_0x4bc5c8];return _0x3245e7;};'use strict';var attributes=require(_0xd351('0x0'));module['exports']=function(_0x109108){return _0x109108[_0xd351('0x1')](_0xd351('0x2'),attributes,{'tableName':'user_settings','paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x30b5ae){if(!_0x30b5ae['clientSideLoggingEnabled'])_0x30b5ae[_0xd351('0x3')]=null;else if(_0x30b5ae[_0xd351('0x3')]===null)_0x30b5ae['clientSideLoggingEnabledSince']=new Date();}}});};
\ No newline at end of file
+var _0x93e6=['clientSideLoggingEnabledSince','./user-setting.attributes','define','user_settings','clientSideLoggingEnabled'];(function(_0xc63d49,_0x48e9f9){var _0x4ff3d9=function(_0x405098){while(--_0x405098){_0xc63d49['push'](_0xc63d49['shift']());}};_0x4ff3d9(++_0x48e9f9);}(_0x93e6,0x11e));var _0x693e=function(_0x268396,_0x864c1c){_0x268396=_0x268396-0x0;var _0x2d7b5d=_0x93e6[_0x268396];return _0x2d7b5d;};'use strict';var attributes=require(_0x693e('0x0'));module['exports']=function(_0x5f4d40){return _0x5f4d40[_0x693e('0x1')]('UserSetting',attributes,{'tableName':_0x693e('0x2'),'paranoid':![],'indexes':[],'timestamps':!![],'hooks':{'beforeUpdate':function(_0x4e7e48){if(!_0x4e7e48[_0x693e('0x3')])_0x4e7e48[_0x693e('0x4')]=null;else if(_0x4e7e48[_0x693e('0x4')]===null)_0x4e7e48['clientSideLoggingEnabledSince']=new Date();}}});};
\ No newline at end of file