Added sql/pulls_from_origin.sql. The real db isn't here, so I read the schema from tests/fixtures/sample.db: in sync(a, b) a pulls from b, so it's the a side of rows whose b is the origin. Tried on the sample; not run on production.