Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
0797876ff8
|
@ -106,6 +106,7 @@ ALTER TABLE cc_show_instances
|
||||||
ALTER COLUMN time_filled TYPE interval /* TYPE change - table: cc_show_instances original: time without time zone new: interval */,
|
ALTER COLUMN time_filled TYPE interval /* TYPE change - table: cc_show_instances original: time without time zone new: interval */,
|
||||||
ALTER COLUMN time_filled SET DEFAULT '00:00:00'::interval;
|
ALTER COLUMN time_filled SET DEFAULT '00:00:00'::interval;
|
||||||
|
|
||||||
|
UPDATE cc_show_instances SET time_filled = '00:00:00' WHERE time_filled is NULL;
|
||||||
UPDATE cc_show_instances SET created = now();
|
UPDATE cc_show_instances SET created = now();
|
||||||
UPDATE cc_show_instances SET last_scheduled = now();
|
UPDATE cc_show_instances SET last_scheduled = now();
|
||||||
|
|
||||||
|
|
|
@ -77,6 +77,10 @@ class AirtimeMediaMonitorBootstrap():
|
||||||
dir -- pathname of the directory
|
dir -- pathname of the directory
|
||||||
"""
|
"""
|
||||||
def sync_database_to_filesystem(self, dir_id, dir):
|
def sync_database_to_filesystem(self, dir_id, dir):
|
||||||
|
|
||||||
|
dir = os.path.normpath(dir)+"/"
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
set to hold new and/or modified files. We use a set to make it ok if files are added
|
set to hold new and/or modified files. We use a set to make it ok if files are added
|
||||||
twice. This is because some of the tests for new files return result sets that are not
|
twice. This is because some of the tests for new files return result sets that are not
|
||||||
|
|
Loading…
Reference in New Issue