Skip to content

Commit 7712529

Browse files
committed
fix(other): remove mistaken lock column from hm_user_session schema
1 parent 9288ad2 commit 7712529

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)