connect-session-knex
Advanced tools
Comparing version 3.0.1 to 4.0.0
{ | ||
"name": "connect-session-knex", | ||
"description": "A knex.js session store for Express and Connect", | ||
"version": "3.0.1", | ||
"version": "4.0.0", | ||
"main": "lib/index.js", | ||
@@ -30,15 +30,15 @@ "typings": "typings/index.d.ts", | ||
"bluebird": "^3.7.2", | ||
"knex": "^2.3.0" | ||
"knex": "3" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^8.26.0", | ||
"eslint": "^8.52.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-import": "^2.29.0", | ||
"express": "^4.18.2", | ||
"express-session": "^1.17.3", | ||
"mysql": "^2.18.1", | ||
"pg": "^8.8.0", | ||
"sqlite3": "^5.1.2", | ||
"tape": "^5.6.1" | ||
"pg": "^8.11.3", | ||
"sqlite3": "^5.1.6", | ||
"tape": "^5.7.2" | ||
} | ||
} |
@@ -59,2 +59,22 @@ # Connect Session Knex | ||
### MySQL | ||
Table Name `sessions`. | ||
| Column | Type | Modifiers | | ||
|---------|:------------------------:|:------------:| | ||
| sid | VARCHAR(255) | NOT NULL, PK | | ||
| sess | JSON | NOT NULL | | ||
| expired | DATETIME | NOT NULL | | ||
Command to manually create table: | ||
```sql | ||
CREATE TABLE `sessions` ( | ||
`sid` VARCHAR(255) NOT NULL, | ||
`sess` JSON NOT NULL, | ||
`expired` DATETIME NOT NULL, | ||
PRIMARY KEY (`sid`)); | ||
``` | ||
## Benchmarks | ||
@@ -61,0 +81,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21888
155
+ Addedknex@3.1.0(transitive)
+ Addedpg-connection-string@2.6.2(transitive)
- Removedknex@2.5.1(transitive)
- Removedpg-connection-string@2.6.1(transitive)
Updatedknex@3