Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////////
- { [Function: UserType]
- sequelize:
- Sequelize {
- options:
- { dialect: 'postgres',
- dialectModulePath: null,
- host: 'localhost',
- protocol: 'tcp',
- define: [Object],
- query: {},
- sync: {},
- timezone: '+00:00',
- logging: [Function: bound log],
- omitNull: false,
- native: false,
- replication: false,
- ssl: undefined,
- pool: {},
- quoteIdentifiers: true,
- hooks: {},
- retry: [Object],
- transactionType: 'DEFERRED',
- isolationLevel: null,
- databaseVersion: '9.4.7',
- typeValidation: false,
- benchmark: false,
- username: 'postgres',
- password: 'postgres',
- database: 'lgt-dev' },
- config:
- { database: 'lgt-dev',
- username: 'postgres',
- password: 'postgres',
- host: 'localhost',
- port: 5432,
- pool: {},
- protocol: 'tcp',
- native: false,
- ssl: undefined,
- replication: false,
- dialectModulePath: null,
- keepDefaultTimezone: undefined,
- dialectOptions: undefined },
- dialect:
- PostgresDialect {
- sequelize: [Circular],
- connectionManager: [Object],
- QueryGenerator: [Object] },
- models:
- { Action: [Object],
- User: [Object],
- UserType: [Circular],
- UserType_Action: [Object] },
- modelManager: ModelManager { models: [Object], sequelize: [Circular] },
- connectionManager:
- ConnectionManager {
- sequelize: [Circular],
- config: [Object],
- dialect: [Object],
- versionPromise: null,
- poolError: null,
- dialectName: 'postgres',
- onProcessExit: [Function: bound onProcessExit],
- pool: [Object],
- lib: [Object] },
- importCache:
- { 'C:\Users\JuanCamilo\GitHub\LGT\models\action.js': [Object],
- 'C:\Users\JuanCamilo\GitHub\LGT\models\user.js': [Object],
- 'C:\Users\JuanCamilo\GitHub\LGT\models\userType.js': [Circular] },
- test:
- { _trackRunningQueries: false,
- _runningQueries: 0,
- trackRunningQueries: [Function: trackRunningQueries],
- verifyNoRunningQueries: [Function: verifyNoRunningQueries] },
- queryInterface: QueryInterface { sequelize: [Circular], QueryGenerator: [Object] } },
- options:
- { timestamps: true,
- validate: {},
- freezeTableName: false,
- underscored: false,
- underscoredAll: false,
- paranoid: true,
- rejectOnEmpty: false,
- whereCollection: { type: 'Admin' },
- schema: null,
- schemaDelimiter: '',
- defaultScope: {},
- scopes: [],
- hooks: {},
- indexes: [],
- name: { plural: 'UserTypes', singular: 'UserType' },
- omitNull: false,
- sequelize:
- Sequelize {
- options: [Object],
- config: [Object],
- dialect: [Object],
- models: [Object],
- modelManager: [Object],
- connectionManager: [Object],
- importCache: [Object],
- test: [Object],
- queryInterface: [Object] },
- uniqueKeys: {},
- hasPrimaryKeys: true },
- associations:
- { UserTypeAction:
- BelongsToMany {
- source: [Circular],
- target: [Object],
- options: [Object],
- scope: undefined,
- isSelfAssociation: false,
- as: 'UserTypeAction',
- associationType: 'BelongsToMany',
- targetAssociation: null,
- sequelize: [Object],
- through: [Object],
- isMultiAssociation: true,
- doubleLinked: false,
- isAliased: true,
- combinedTableName: 'ActionsUserTypes',
- foreignKeyDefault: true,
- foreignKeyAttribute: {},
- foreignKey: 'UserTypeId',
- otherKeyDefault: true,
- otherKeyAttribute: {},
- otherKey: 'ActionId',
- paired: [Object],
- throughModel: [Object],
- combinedName: 'UserType_Action',
- associationAccessor: 'UserTypeAction',
- accessors: [Object],
- identifier: 'UserTypeId',
- foreignIdentifier: 'ActionId',
- primaryKeyDeleted: true,
- identifierField: 'UserTypeId',
- foreignIdentifierField: 'ActionId',
- toSource: [Object],
- manyFromSource: [Object],
- oneFromSource: [Object],
- toTarget: [Object],
- manyFromTarget: [Object],
- oneFromTarget: [Object] } },
- underscored: undefined,
- tableName: 'UserTypes',
- _schema: null,
- _schemaDelimiter: '',
- rawAttributes:
- { id:
- { type: [Object],
- allowNull: false,
- primaryKey: true,
- autoIncrement: true,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'id',
- _modelAttribute: true,
- field: 'id' },
- deletedAt:
- { type: [Object],
- Model: [Circular],
- fieldName: 'deletedAt',
- _modelAttribute: true,
- field: 'deletedAt' },
- type:
- { type: [Object],
- Model: [Circular],
- fieldName: 'type',
- _modelAttribute: true,
- field: 'type' },
- priority:
- { type: [Object],
- Model: [Circular],
- fieldName: 'priority',
- _modelAttribute: true,
- field: 'priority' },
- createdAt:
- { type: [Object],
- allowNull: false,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'createdAt',
- _modelAttribute: true,
- field: 'createdAt' },
- updatedAt:
- { type: [Object],
- allowNull: false,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'updatedAt',
- _modelAttribute: true,
- field: 'updatedAt' } },
- attributes:
- { id:
- { type: [Object],
- allowNull: false,
- primaryKey: true,
- autoIncrement: true,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'id',
- _modelAttribute: true,
- field: 'id' },
- deletedAt:
- { type: [Object],
- Model: [Circular],
- fieldName: 'deletedAt',
- _modelAttribute: true,
- field: 'deletedAt' },
- type:
- { type: [Object],
- Model: [Circular],
- fieldName: 'type',
- _modelAttribute: true,
- field: 'type' },
- priority:
- { type: [Object],
- Model: [Circular],
- fieldName: 'priority',
- _modelAttribute: true,
- field: 'priority' },
- createdAt:
- { type: [Object],
- allowNull: false,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'createdAt',
- _modelAttribute: true,
- field: 'createdAt' },
- updatedAt:
- { type: [Object],
- allowNull: false,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'updatedAt',
- _modelAttribute: true,
- field: 'updatedAt' } },
- primaryKeys:
- { id:
- { type: [Object],
- allowNull: false,
- primaryKey: true,
- autoIncrement: true,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'id',
- _modelAttribute: true,
- field: 'id' } },
- _timestampAttributes:
- { createdAt: 'createdAt',
- updatedAt: 'updatedAt',
- deletedAt: 'deletedAt' },
- _readOnlyAttributes: [ 'createdAt', 'updatedAt', 'deletedAt' ],
- _hasReadOnlyAttributes: 3,
- _isReadOnlyAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
- _booleanAttributes: [],
- _dateAttributes: [ 'deletedAt', 'createdAt', 'updatedAt' ],
- _hstoreAttributes: [],
- _rangeAttributes: [],
- _jsonAttributes: [],
- _geometryAttributes: [],
- _virtualAttributes: [],
- _defaultValues: {},
- fieldRawAttributesMap:
- { id:
- { type: [Object],
- allowNull: false,
- primaryKey: true,
- autoIncrement: true,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'id',
- _modelAttribute: true,
- field: 'id' },
- deletedAt:
- { type: [Object],
- Model: [Circular],
- fieldName: 'deletedAt',
- _modelAttribute: true,
- field: 'deletedAt' },
- type:
- { type: [Object],
- Model: [Circular],
- fieldName: 'type',
- _modelAttribute: true,
- field: 'type' },
- priority:
- { type: [Object],
- Model: [Circular],
- fieldName: 'priority',
- _modelAttribute: true,
- field: 'priority' },
- createdAt:
- { type: [Object],
- allowNull: false,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'createdAt',
- _modelAttribute: true,
- field: 'createdAt' },
- updatedAt:
- { type: [Object],
- allowNull: false,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'updatedAt',
- _modelAttribute: true,
- field: 'updatedAt' } },
- fieldAttributeMap: {},
- uniqueKeys: {},
- _hasBooleanAttributes: false,
- _isBooleanAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
- _hasDateAttributes: true,
- _isDateAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
- _hasHstoreAttributes: false,
- _isHstoreAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
- _hasRangeAttributes: false,
- _isRangeAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
- _hasJsonAttributes: false,
- _isJsonAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
- _hasVirtualAttributes: false,
- _isVirtualAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
- _hasGeometryAttributes: false,
- _isGeometryAttribute: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
- _hasDefaultValues: false,
- tableAttributes:
- { id:
- { type: [Object],
- allowNull: false,
- primaryKey: true,
- autoIncrement: true,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'id',
- _modelAttribute: true,
- field: 'id' },
- deletedAt:
- { type: [Object],
- Model: [Circular],
- fieldName: 'deletedAt',
- _modelAttribute: true,
- field: 'deletedAt' },
- type:
- { type: [Object],
- Model: [Circular],
- fieldName: 'type',
- _modelAttribute: true,
- field: 'type' },
- priority:
- { type: [Object],
- Model: [Circular],
- fieldName: 'priority',
- _modelAttribute: true,
- field: 'priority' },
- createdAt:
- { type: [Object],
- allowNull: false,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'createdAt',
- _modelAttribute: true,
- field: 'createdAt' },
- updatedAt:
- { type: [Object],
- allowNull: false,
- _autoGenerated: true,
- Model: [Circular],
- fieldName: 'updatedAt',
- _modelAttribute: true,
- field: 'updatedAt' } },
- primaryKeyAttributes: [ 'id' ],
- primaryKeyAttribute: 'id',
- primaryKeyField: 'id',
- primaryKeyCount: 1,
- hasPrimaryKeys: true,
- _hasPrimaryKeys: true,
- _isPrimaryKey: { [Function: memoized] cache: MapCache { size: 0, __data__: [Object] } },
- autoIncrementField: 'id',
- _scope: {},
- associate: [Function],
- createAdmin: [Function],
- getById: [Function] }
- ////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement