Add schema generation and merging for platform-specific tables in CI (#2743)