@spinajs/session-provider-db 1.2.138 → 1.2.139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OrmMigration, OrmDriver } from '@spinajs/orm';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class UserSessionDBSqlMigration_2022_06_28_01_01_01 extends OrmMigration {
|
|
3
3
|
up(connection: OrmDriver): Promise<void>;
|
|
4
4
|
down(_: OrmDriver): Promise<void>;
|
|
5
5
|
}
|
|
@@ -6,9 +6,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.
|
|
9
|
+
exports.UserSessionDBSqlMigration_2022_06_28_01_01_01 = void 0;
|
|
10
10
|
const orm_1 = require("@spinajs/orm");
|
|
11
|
-
let
|
|
11
|
+
let UserSessionDBSqlMigration_2022_06_28_01_01_01 = class UserSessionDBSqlMigration_2022_06_28_01_01_01 extends orm_1.OrmMigration {
|
|
12
12
|
async up(connection) {
|
|
13
13
|
await connection.schema().createTable('user_sessions', (table) => {
|
|
14
14
|
table.int('Id').primaryKey().autoIncrement();
|
|
@@ -23,8 +23,8 @@ let AclSessionDBSqlMigration_2022_06_28_01_01_01 = class AclSessionDBSqlMigratio
|
|
|
23
23
|
// tslint:disable-next-line: no-empty
|
|
24
24
|
async down(_) { }
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
UserSessionDBSqlMigration_2022_06_28_01_01_01 = __decorate([
|
|
27
27
|
(0, orm_1.Migration)('default')
|
|
28
|
-
],
|
|
29
|
-
exports.
|
|
28
|
+
], UserSessionDBSqlMigration_2022_06_28_01_01_01);
|
|
29
|
+
exports.UserSessionDBSqlMigration_2022_06_28_01_01_01 = UserSessionDBSqlMigration_2022_06_28_01_01_01;
|
|
30
30
|
//# sourceMappingURL=UserSessionDBSqlMigration_2022_06_28_01_01_01.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserSessionDBSqlMigration_2022_06_28_01_01_01.js","sourceRoot":"","sources":["../../src/migrations/UserSessionDBSqlMigration_2022_06_28_01_01_01.ts"],"names":[],"mappings":";;;;;;;;;AAAA,sCAAkE;AAGlE,IAAa,
|
|
1
|
+
{"version":3,"file":"UserSessionDBSqlMigration_2022_06_28_01_01_01.js","sourceRoot":"","sources":["../../src/migrations/UserSessionDBSqlMigration_2022_06_28_01_01_01.ts"],"names":[],"mappings":";;;;;;;;;AAAA,sCAAkE;AAGlE,IAAa,6CAA6C,GAA1D,MAAa,6CAA8C,SAAQ,kBAAY;IACtE,KAAK,CAAC,EAAE,CAAC,UAAqB;QACnC,MAAM,UAAU,CAAC,MAAM,EAAE,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE;YAC/D,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC,aAAa,EAAE,CAAC;YAC7C,KAAK,CAAC,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,OAAO,EAAE,CAAC;YACzC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE,CAAC;YAClC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE,CAAC;YACnC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,CAAC;QAC/B,CAAC,CAAC,CAAC;QAEH,gGAAgG;QAChG,MAAM,UAAU,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACpH,CAAC;IAED,qCAAqC;IAC9B,KAAK,CAAC,IAAI,CAAC,CAAY,IAAkB,CAAC;CAClD,CAAA;AAhBY,6CAA6C;IADzD,IAAA,eAAS,EAAC,SAAS,CAAC;GACR,6CAA6C,CAgBzD;AAhBY,sGAA6C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spinajs/session-provider-db",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.139",
|
|
4
4
|
"description": "Simple session provider based on relational db. Usefull for testing or small projects",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@spinajs/orm-sqlite": "^1.2.137"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "5ef8b6f12e84d6f6683f10f9aa8ef2568ce2ac31"
|
|
54
54
|
}
|