Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Patch Teamcal 3.3.009 -> Fix_Lastlogin
diff --git a/sql/empty.sql b/sql/empty.sql
index 129af9e..179d82f 100755
--- a/sql/empty.sql
+++ b/sql/empty.sql
@@ -355,7 +355,7 @@ CREATE TABLE `my_tc_users` (
`last_pw_change` datetime default NULL,
`birthday` date default NULL,
`idnumber` varchar(40) default NULL,
- `last_login` datetime NOT NULL default '',
+ `last_login` datetime NULL,
`custom1` varchar(80) NOT NULL default '',
`custom2` varchar(80) NOT NULL default '',
`custom3` varchar(80) NOT NULL default '',
diff --git a/sql/sample.sql b/sql/sample.sql
index c6c3323..7be53b1 100755
--- a/sql/sample.sql
+++ b/sql/sample.sql
@@ -468,7 +468,7 @@ CREATE TABLE `my_tc_users` (
`last_pw_change` datetime default NULL,
`birthday` date default NULL,
`idnumber` varchar(40) default NULL,
- `last_login` datetime NOT NULL default '',
+ `last_login` datetime NULL,
`custom1` varchar(80) NOT NULL default '',
`custom2` varchar(80) NOT NULL default '',
`custom3` varchar(80) NOT NULL default '',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.