Merge branch 'claude/posttype-noargs-backfill' into master
This commit is contained in:
@@ -148,6 +148,12 @@ namespace URLNotesGrabberCORE
|
|||||||
if (args.Length == 0) //Traverse folder structure to add posts and thus blogs to DB
|
if (args.Length == 0) //Traverse folder structure to add posts and thus blogs to DB
|
||||||
{
|
{
|
||||||
int postsAdded = 0;
|
int postsAdded = 0;
|
||||||
|
// This is the mode that actually gets run day to day, so the schema migration and
|
||||||
|
// the PostType backfill have to happen here too. They used to hang off --ingest,
|
||||||
|
// --output and friends only, which meant the untyped rows this traversal creates
|
||||||
|
// could sit unrepaired indefinitely while the one command everyone runs skipped
|
||||||
|
// the fix entirely. Idempotent, so paying it on every run costs nothing.
|
||||||
|
DataAccess.EnsureTTFileHelperColumnsExist();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
DataAccess.EnableImportModePragmas();
|
DataAccess.EnableImportModePragmas();
|
||||||
|
|||||||
Reference in New Issue
Block a user