Skip to content

Commit

Permalink
Fix db session table user relation column
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgeniyMukhamedjanov authored Sep 11, 2024
1 parent 5a474dc commit a49647f
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion JavaScript/1-http-aware/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/2-controller/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/3-crud/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/4-service/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/5-agnostic/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/6-ws/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/7-fs/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/8-vm/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/9-logger/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/a-config/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/b-transport/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/c-commonjs/db/structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a49647f

Please sign in to comment.