INSERT INTO memories_fts(rowid, content) SELECT rowid, content FROM memories;