Skip to content

Commit c314823

Browse files
authored
Merge pull request #1707 from Baraka24/fix-mistaken-lock
fix(other): remove mistaken lock column from hm_user_session schema
2 parents 078da11 + 7712529 commit c314823

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/database.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@
7474
| Postgresql:
7575
| CREATE TABLE hm_user_session (hm_id varchar(250) primary key not null, data text, hm_version INTEGER DEFAULT 1, date timestamp);
7676
|
77-
| MySQL or SQLite:
77+
| MySQL:
78+
| CREATE TABLE hm_user_session (hm_id varchar(180), data longblob, hm_version INTEGER DEFAULT 1, date timestamp, primary key (hm_id));
79+
|
80+
| SQLite:
7881
| CREATE TABLE hm_user_session (hm_id varchar(180), data longblob, hm_version INTEGER DEFAULT 1, lock INTEGER DEFAULT 0, date timestamp, primary key (hm_id));
7982
|
8083
|

0 commit comments

Comments
 (0)