]> git.nbdom.net Git - nb.git/commitdiff
lib/postgres/mime.sql
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 9 Jan 2018 03:45:34 +0000 (03:45 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 9 Jan 2018 03:45:34 +0000 (03:45 +0000)
lib/postgres/mime.sql
www/dbq/html/default.css

index 270f5f536a398c607484da426958650d47b8a713..e9f2535caefd3bc201dd2e817c653d548711954f 100644 (file)
@@ -721,6 +721,6 @@ https://gist.githubusercontent.com/electerious/3d5a31a73cfd6423f835c074ab25fc06/
 ' WITH (format 'text', NULL '');
 INSERT INTO mime SELECT * FROM tmp_mime ON CONFLICT DO NOTHING;
 
-DELETE FROM mime WHERE LENGTH(ext)>4;
+-- DELETE FROM mime WHERE LENGTH(ext)>6;
 UPDATE mime AS m1 SET name=(SELECT name FROM mime AS m2 WHERE m2.name<>'' AND m2.type=m1.type ORDER BY name LIMIT 1) WHERE COALESCE(name,'')='';
 COMMIT;
index 844abd7a35222f60646e409d36b8b24a3e04d309..3ae3787042e5ae7bdecdb6457616d08eaa502f59 100644 (file)
@@ -76,6 +76,7 @@ table { border-collapse: collapse; }
 td, th { padding: 0.2em 0.7em; }
 /*
 th a.sort { padding: 0 0.3em; }
+th a.sort.sel { color: green; }
 */
 th a.sort { float: left; margin-right: 0.1em; }