Fix table setup to support SQLite

SQLite requires pt_id to be set as primary key when first defined
in order for auto_increment to work
https://sqlite.org/faq.html#q1

Bug: 65488
Change-Id: I747f0f27ee68c8587bb359f588793e2dcdf665c2