diff --git a/JavaScript/1-http-aware/db/structure.sql b/JavaScript/1-http-aware/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/1-http-aware/db/structure.sql +++ b/JavaScript/1-http-aware/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text diff --git a/JavaScript/2-controller/db/structure.sql b/JavaScript/2-controller/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/2-controller/db/structure.sql +++ b/JavaScript/2-controller/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text diff --git a/JavaScript/3-crud/db/structure.sql b/JavaScript/3-crud/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/3-crud/db/structure.sql +++ b/JavaScript/3-crud/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text diff --git a/JavaScript/4-service/db/structure.sql b/JavaScript/4-service/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/4-service/db/structure.sql +++ b/JavaScript/4-service/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text diff --git a/JavaScript/5-agnostic/db/structure.sql b/JavaScript/5-agnostic/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/5-agnostic/db/structure.sql +++ b/JavaScript/5-agnostic/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text diff --git a/JavaScript/6-ws/db/structure.sql b/JavaScript/6-ws/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/6-ws/db/structure.sql +++ b/JavaScript/6-ws/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text diff --git a/JavaScript/7-fs/db/structure.sql b/JavaScript/7-fs/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/7-fs/db/structure.sql +++ b/JavaScript/7-fs/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text diff --git a/JavaScript/8-vm/db/structure.sql b/JavaScript/8-vm/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/8-vm/db/structure.sql +++ b/JavaScript/8-vm/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text diff --git a/JavaScript/9-logger/db/structure.sql b/JavaScript/9-logger/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/9-logger/db/structure.sql +++ b/JavaScript/9-logger/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text diff --git a/JavaScript/a-config/db/structure.sql b/JavaScript/a-config/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/a-config/db/structure.sql +++ b/JavaScript/a-config/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text diff --git a/JavaScript/b-transport/db/structure.sql b/JavaScript/b-transport/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/b-transport/db/structure.sql +++ b/JavaScript/b-transport/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text diff --git a/JavaScript/c-commonjs/db/structure.sql b/JavaScript/c-commonjs/db/structure.sql index bb9c8da..6ccfd20 100644 --- a/JavaScript/c-commonjs/db/structure.sql +++ b/JavaScript/c-commonjs/db/structure.sql @@ -9,7 +9,7 @@ CREATE UNIQUE INDEX akUsersLogin ON "users" (login); CREATE TABLE "session" ( "id" bigint generated always as identity, - "user" integer NOT NULL, + "user" bigint NOT NULL, "token" varchar(64) NOT NULL, "ip" varchar(45) NOT NULL, "data" text