Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.37 KB | None | 0 0
  1. ////////
  2. { [Function: UserType]
  3. sequelize:
  4. Sequelize {
  5. options:
  6. { dialect: 'postgres',
  7. dialectModulePath: null,
  8. host: 'localhost',
  9. protocol: 'tcp',
  10. define: [Object],
  11. query: {},
  12. sync: {},
  13. timezone: '+00:00',
  14. logging: [Function: bound log],
  15. omitNull: false,
  16. native: false,
  17. replication: false,
  18. ssl: undefined,
  19. pool: {},
  20. quoteIdentifiers: true,
  21. hooks: {},
  22. retry: [Object],
  23. transactionType: 'DEFERRED',
  24. isolationLevel: null,
  25. databaseVersion: '9.4.7',
  26. typeValidation: false,
  27. benchmark: false,
  28. username: 'postgres',
  29. password: 'postgres',
  30. database: 'lgt-dev' },
  31. config:
  32. { database: 'lgt-dev',
  33. username: 'postgres',
  34. password: 'postgres',
  35. host: 'localhost',
  36. port: 5432,
  37. pool: {},
  38. protocol: 'tcp',
  39. native: false,
  40. ssl: undefined,
  41. replication: false,
  42. dialectModulePath: null,
  43. keepDefaultTimezone: undefined,
  44. dialectOptions: undefined },
  45. dialect:
  46. PostgresDialect {
  47. sequelize: [Circular],
  48. connectionManager: [Object],
  49. QueryGenerator: [Object] },
  50. models:
  51. { Action: [Object],
  52. User: [Object],
  53. UserType: [Circular],
  54. UserType_Action: [Object] },
  55. modelManager: ModelManager { models: [Object], sequelize: [Circular] },
  56. connectionManager:
  57. ConnectionManager {
  58. sequelize: [Circular],
  59. config: [Object],
  60. dialect: [Object],
  61. versionPromise: null,
  62. poolError: null,
  63. dialectName: 'postgres',
  64. onProcessExit: [Function: bound onProcessExit],
  65. pool: [Object],
  66. lib: [Object] },
  67. importCache:
  68. { 'C:\Users\JuanCamilo\GitHub\LGT\models\action.js': [Object],
  69. 'C:\Users\JuanCamilo\GitHub\LGT\models\user.js': [Object],
  70. 'C:\Users\JuanCamilo\GitHub\LGT\models\userType.js': [Circular] },
  71. test:
  72. { _trackRunningQueries: false,
  73. _runningQueries: 0,
  74. trackRunningQueries: [Function: trackRunningQueries],
  75. verifyNoRunningQueries: [Function: verifyNoRunningQueries] },
  76. queryInterface: QueryInterface { sequelize: [Circular], QueryGenerator: [Object] } },
  77. options:
  78. { timestamps: true,
  79. validate: {},
  80. freezeTableName: false,
  81. underscored: false,
  82. underscoredAll: false,
  83. paranoid: true,
  84. rejectOnEmpty: false,
  85. whereCollection: { type: 'Admin' },
  86. schema: null,
  87. schemaDelimiter: '',
  88. defaultScope: {},
  89. scopes: [],
  90. hooks: {},
  91. indexes: [],
  92. name: { plural: 'UserTypes', singular: 'UserType' },
  93. omitNull: false,
  94. sequelize:
  95. Sequelize {
  96. options: [Object],
  97. config: [Object],
  98. dialect: [Object],
  99. models: [Object],
  100. modelManager: [Object],
  101. connectionManager: [Object],
  102. importCache: [Object],
  103. test: [Object],
  104. queryInterface: [Object] },
  105. uniqueKeys: {},
  106. hasPrimaryKeys: true },
  107. associations:
  108. { UserTypeAction:
  109. BelongsToMany {
  110. source: [Circular],
  111. target: [Object],
  112. options: [Object],
  113. scope: undefined,
  114. isSelfAssociation: false,
  115. as: 'UserTypeAction',
  116. associationType: 'BelongsToMany',
  117. targetAssociation: null,
  118. sequelize: [Object],
  119. through: [Object],
  120. isMultiAssociation: true,
  121. doubleLinked: false,
  122. isAliased: true,
  123. combinedTableName: 'ActionsUserTypes',
  124. foreignKeyDefault: true,
  125. foreignKeyAttribute: {},
  126. foreignKey: 'UserTypeId',
  127. otherKeyDefault: true,
  128. otherKeyAttribute: {},
  129. otherKey: 'ActionId',
  130. paired: [Object],
  131. throughModel: [Object],
  132. combinedName: 'UserType_Action',
  133. associationAccessor: 'UserTypeAction',
  134. accessors: [Object],
  135. identifier: 'UserTypeId',
  136. foreignIdentifier: 'ActionId',
  137. primaryKeyDeleted: true,
  138. identifierField: 'UserTypeId',
  139. foreignIdentifierField: 'ActionId',
  140. toSource: [Object],
  141. manyFromSource: [Object],
  142. oneFromSource: [Object],
  143. toTarget: [Object],
  144. manyFromTarget: [Object],
  145. oneFromTarget: [Object] } },
  146. underscored: undefined,
  147. tableName: 'UserTypes',
  148. _schema: null,
  149. _schemaDelimiter: '',
  150. rawAttributes:
  151. { id:
  152. { type: [Object],
  153. allowNull: false,
  154. primaryKey: true,
  155. autoIncrement: true,
  156. _autoGenerated: true,
  157. Model: [Circular],
  158. fieldName: 'id',
  159. _modelAttribute: true,
  160. field: 'id' },
  161. deletedAt:
  162. { type: [Object],
  163. Model: [Circular],
  164. fieldName: 'deletedAt',
  165. _modelAttribute: true,
  166. field: 'deletedAt' },
  167. type:
  168. { type: [Object],
  169. Model: [Circular],
  170. fieldName: 'type',
  171. _modelAttribute: true,
  172. field: 'type' },
  173. priority:
  174. { type: [Object],
  175. Model: [Circular],
  176. fieldName: 'priority',
  177. _modelAttribute: true,
  178. field: 'priority' },
  179. createdAt:
  180. { type: [Object],
  181. allowNull: false,
  182. _autoGenerated: true,
  183. Model: [Circular],
  184. fieldName: 'createdAt',
  185. _modelAttribute: true,
  186. field: 'createdAt' },
  187. updatedAt:
  188. { type: [Object],
  189. allowNull: false,
  190. _autoGenerated: true,
  191. Model: [Circular],
  192. fieldName: 'updatedAt',
  193. _modelAttribute: true,
  194. field: 'updatedAt' } },
  195. attributes:
  196. { id:
  197. { type: [Object],
  198. allowNull: false,
  199. primaryKey: true,
  200. autoIncrement: true,
  201. _autoGenerated: true,
  202. Model: [Circular],
  203. fieldName: 'id',
  204. _modelAttribute: true,
  205. field: 'id' },
  206. deletedAt:
  207. { type: [Object],
  208. Model: [Circular],
  209. fieldName: 'deletedAt',
  210. _modelAttribute: true,
  211. field: 'deletedAt' },
  212. type:
  213. { type: [Object],
  214. Model: [Circular],
  215. fieldName: 'type',
  216. _modelAttribute: true,
  217. field: 'type' },
  218. priority:
  219. { type: [Object],
  220. Model: [Circular],
  221. fieldName: 'priority',
  222. _modelAttribute: true,
  223. field: 'priority' },
  224. createdAt:
  225. { type: [Object],
  226. allowNull: false,
  227. _autoGenerated: true,
  228. Model: [Circular],
  229. fieldName: 'createdAt',
  230. _modelAttribute: true,
  231. field: 'createdAt' },
  232. updatedAt:
  233. { type: [Object],
  234. allowNull: false,
  235. _autoGenerated: true,
  236. Model: [Circular],
  237. fieldName: 'updatedAt',
  238. _modelAttribute: true,
  239. field: 'updatedAt' } },
  240. primaryKeys:
  241. { id:
  242. { type: [Object],
  243. allowNull: false,
  244. primaryKey: true,
  245. autoIncrement: true,
  246. _autoGenerated: true,
  247. Model: [Circular],
  248. fieldName: 'id',
  249. _modelAttribute: true,
  250. field: 'id' } },
  251. _timestampAttributes:
  252. { createdAt: 'createdAt',
  253. updatedAt: 'updatedAt',
  254. deletedAt: 'deletedAt' },
  255. _readOnlyAttributes: [ 'createdAt', 'updatedAt', 'deletedAt' ],
  256. _hasReadOnlyAttributes: 3,
  257. _isReadOnlyAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
  258. _booleanAttributes: [],
  259. _dateAttributes: [ 'deletedAt', 'createdAt', 'updatedAt' ],
  260. _hstoreAttributes: [],
  261. _rangeAttributes: [],
  262. _jsonAttributes: [],
  263. _geometryAttributes: [],
  264. _virtualAttributes: [],
  265. _defaultValues: {},
  266. fieldRawAttributesMap:
  267. { id:
  268. { type: [Object],
  269. allowNull: false,
  270. primaryKey: true,
  271. autoIncrement: true,
  272. _autoGenerated: true,
  273. Model: [Circular],
  274. fieldName: 'id',
  275. _modelAttribute: true,
  276. field: 'id' },
  277. deletedAt:
  278. { type: [Object],
  279. Model: [Circular],
  280. fieldName: 'deletedAt',
  281. _modelAttribute: true,
  282. field: 'deletedAt' },
  283. type:
  284. { type: [Object],
  285. Model: [Circular],
  286. fieldName: 'type',
  287. _modelAttribute: true,
  288. field: 'type' },
  289. priority:
  290. { type: [Object],
  291. Model: [Circular],
  292. fieldName: 'priority',
  293. _modelAttribute: true,
  294. field: 'priority' },
  295. createdAt:
  296. { type: [Object],
  297. allowNull: false,
  298. _autoGenerated: true,
  299. Model: [Circular],
  300. fieldName: 'createdAt',
  301. _modelAttribute: true,
  302. field: 'createdAt' },
  303. updatedAt:
  304. { type: [Object],
  305. allowNull: false,
  306. _autoGenerated: true,
  307. Model: [Circular],
  308. fieldName: 'updatedAt',
  309. _modelAttribute: true,
  310. field: 'updatedAt' } },
  311. fieldAttributeMap: {},
  312. uniqueKeys: {},
  313. _hasBooleanAttributes: false,
  314. _isBooleanAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
  315. _hasDateAttributes: true,
  316. _isDateAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
  317. _hasHstoreAttributes: false,
  318. _isHstoreAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
  319. _hasRangeAttributes: false,
  320. _isRangeAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
  321. _hasJsonAttributes: false,
  322. _isJsonAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
  323. _hasVirtualAttributes: false,
  324. _isVirtualAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
  325. _hasGeometryAttributes: false,
  326. _isGeometryAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
  327. _hasDefaultValues: false,
  328. tableAttributes:
  329. { id:
  330. { type: [Object],
  331. allowNull: false,
  332. primaryKey: true,
  333. autoIncrement: true,
  334. _autoGenerated: true,
  335. Model: [Circular],
  336. fieldName: 'id',
  337. _modelAttribute: true,
  338. field: 'id' },
  339. deletedAt:
  340. { type: [Object],
  341. Model: [Circular],
  342. fieldName: 'deletedAt',
  343. _modelAttribute: true,
  344. field: 'deletedAt' },
  345. type:
  346. { type: [Object],
  347. Model: [Circular],
  348. fieldName: 'type',
  349. _modelAttribute: true,
  350. field: 'type' },
  351. priority:
  352. { type: [Object],
  353. Model: [Circular],
  354. fieldName: 'priority',
  355. _modelAttribute: true,
  356. field: 'priority' },
  357. createdAt:
  358. { type: [Object],
  359. allowNull: false,
  360. _autoGenerated: true,
  361. Model: [Circular],
  362. fieldName: 'createdAt',
  363. _modelAttribute: true,
  364. field: 'createdAt' },
  365. updatedAt:
  366. { type: [Object],
  367. allowNull: false,
  368. _autoGenerated: true,
  369. Model: [Circular],
  370. fieldName: 'updatedAt',
  371. _modelAttribute: true,
  372. field: 'updatedAt' } },
  373. primaryKeyAttributes: [ 'id' ],
  374. primaryKeyAttribute: 'id',
  375. primaryKeyField: 'id',
  376. primaryKeyCount: 1,
  377. hasPrimaryKeys: true,
  378. _hasPrimaryKeys: true,
  379. _isPrimaryKey: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
  380. autoIncrementField: 'id',
  381. _scope: {},
  382. associate: [Function],
  383. createAdmin: [Function],
  384. getById: [Function] }
  385. ////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement