-
-
Save jimmiehansson/771579522d18b35767f72a15b17bb27a to your computer and use it in GitHub Desktop.
...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> @pp/pp-nm-module-template@1.0.0 example /Users/jimmiehansson/github/pp/pr/pp-nm-accounts | |
> NODE_ENV=test node example.js | |
sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators node_modules/sequelize/lib/sequelize.js:242:13 | |
Executing (c2844de3-0e01-46c6-9cc1-ab217f28fe82): START TRANSACTION; | |
Executing (default): SELECT "pk_accounts_id", "email", "username", "timestamp_created", "timestamp_modified", "password_hash", "vector_token", "domains_id", "subscription_token" FROM "consumers"."accounts" AS "accounts" WHERE "accounts"."username" = 'test' LIMIT 1; | |
Executing (c2844de3-0e01-46c6-9cc1-ab217f28fe82): COMMIT; | |
accounts { | |
dataValues: | |
{ pk_accounts_id: 1, | |
email: 'test@test.com', | |
username: 'test', | |
timestamp_created: 2018-04-07T14:57:08.980Z, | |
timestamp_modified: 2018-04-07T14:57:08.980Z, | |
password_hash: '$2a$10$8fe5cj1MfIkmjxJpLUemxuLk31alUR3Pqdz5if.bS2FFKy7Eyy.v.', | |
vector_token: '37a6259cc0c1dae299a7866489dff0bd', | |
domains_id: 1, | |
subscription_token: 'ewoic2VjcmV0IjogImxvbDEyMyIsCiJkb21haW5JZCI6IDEsCiJhY2NvdW50SWQiOiAxCn0=' }, | |
_previousDataValues: | |
{ pk_accounts_id: 1, | |
email: 'test@test.com', | |
username: 'test', | |
timestamp_created: 2018-04-07T14:57:08.980Z, | |
timestamp_modified: 2018-04-07T14:57:08.980Z, | |
password_hash: '$2a$10$8fe5cj1MfIkmjxJpLUemxuLk31alUR3Pqdz5if.bS2FFKy7Eyy.v.', | |
vector_token: '37a6259cc0c1dae299a7866489dff0bd', | |
domains_id: 1, | |
subscription_token: 'ewoic2VjcmV0IjogImxvbDEyMyIsCiJkb21haW5JZCI6IDEsCiJhY2NvdW50SWQiOiAxCn0=' }, | |
_changed: {}, | |
_modelOptions: | |
{ timestamps: false, | |
validate: {}, | |
freezeTableName: false, | |
underscored: false, | |
underscoredAll: false, | |
paranoid: false, | |
rejectOnEmpty: false, | |
whereCollection: { username: 'test' }, | |
schema: 'consumers', | |
schemaDelimiter: '', | |
defaultScope: {}, | |
scopes: [], | |
indexes: [], | |
name: { plural: 'accounts', singular: 'account' }, | |
omitNull: false, | |
tableName: 'accounts', | |
sequelize: | |
Sequelize { | |
options: [Object], | |
config: [Object], | |
dialect: [Object], | |
queryInterface: [Object], | |
models: [Object], | |
modelManager: [Object], | |
connectionManager: [Object], | |
importCache: [Object], | |
test: [Object] }, | |
hooks: {}, | |
uniqueKeys: {} }, | |
_options: | |
{ isNewRecord: false, | |
_schema: 'consumers', | |
_schemaDelimiter: '', | |
raw: true, | |
attributes: | |
[ 'pk_accounts_id', | |
'email', | |
'username', | |
'timestamp_created', | |
'timestamp_modified', | |
'password_hash', | |
'vector_token', | |
'domains_id', | |
'subscription_token' ] }, | |
__eagerlyLoadedAssociations: [], | |
isNewRecord: false } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment