Add saving periods
This commit is contained in:
		
							parent
							
								
									12d57d020f
								
							
						
					
					
						commit
						483fd60daa
					
				
					 13 changed files with 271 additions and 52 deletions
				
			
		| 
						 | 
				
			
			@ -41,13 +41,13 @@ CREATE TABLE schedules
 | 
			
		|||
            UNIQUE,
 | 
			
		||||
    name    VARCHAR(128)
 | 
			
		||||
            NOT NULL,
 | 
			
		||||
    periods TEXT
 | 
			
		||||
    periods BLOB
 | 
			
		||||
            NOT NULL
 | 
			
		||||
);
 | 
			
		||||
--INSERT INTO schedules (uid, name, periods) VALUES (x'6f666600000000000000000000000000', 'off', x'00');
 | 
			
		||||
--INSERT INTO schedules (uid, name, periods) VALUES (x'6f6e0000000000000000000000000000',  'on', x'010000009F05');
 | 
			
		||||
INSERT INTO schedules (uid, name, periods) VALUES (x'00', 'off', '00');
 | 
			
		||||
INSERT INTO schedules (uid, name, periods) VALUES (x'01',  'on', '010000009F05');
 | 
			
		||||
INSERT INTO schedules (uid, name, periods) VALUES (x'00', 'off', x'');
 | 
			
		||||
INSERT INTO schedules (uid, name, periods) VALUES (x'01',  'on', x'0000173B');
 | 
			
		||||
 | 
			
		||||
CREATE TABLE tags
 | 
			
		||||
(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue