remove commented out code

Cette révision appartient à :
lawl 2021-03-20 20:28:03 +01:00
Parent e3e7fd74e0
révision f58c82a3ee
1 fichiers modifiés avec 0 ajouts et 7 suppressions

Voir le fichier

@ -26,13 +26,6 @@ func createConnection() *sql.DB {
}
func initDatabase() {
/*
CREATE TABLE history(id INTEGER PRIMARY KEY, command varchar(512), timestamp datetime DEFAULT current_timestamp, user varchar(25), hostname varchar(32));
CREATE VIEW count_by_date AS SELECT COUNT(id), STRFTIME('%Y-%m-%d', timestamp) FROM history GROUP BY strftime('%Y-%m-%d', timestamp)
count_by_date("COUNT(id)","STRFTIME('%Y-%m-%d', timestamp)") ;
*/
conn := createConnection()
queryStmt := "CREATE TABLE history(id INTEGER PRIMARY KEY, command varchar(512), timestamp datetime DEFAULT current_timestamp, user varchar(25), hostname varchar(32));\n" +