mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-11-03 18:00:11 +00:00 
			
		
		
		
	Fix mariadb timestamp columns
MariaDB automatically inserts the current time, even when saying `SET datecol = null`.
This commit is contained in:
		@@ -0,0 +1,14 @@
 | 
			
		||||
ALTER TABLE `item`
 | 
			
		||||
MODIFY `itemdate` TIMESTAMP NULL;
 | 
			
		||||
 | 
			
		||||
ALTER TABLE `item`
 | 
			
		||||
MODIFY `duedate` TIMESTAMP NULL;
 | 
			
		||||
 | 
			
		||||
ALTER TABLE `user_`
 | 
			
		||||
MODIFY `lastlogin` TIMESTAMP NULL;
 | 
			
		||||
 | 
			
		||||
ALTER TABLE `job`
 | 
			
		||||
MODIFY `started` TIMESTAMP NULL;
 | 
			
		||||
 | 
			
		||||
ALTER TABLE `job`
 | 
			
		||||
MODIFY `finished` TIMESTAMP NULL;
 | 
			
		||||
		Reference in New Issue
	
	Block a user