Skip to content

Defining Platform Specific Schema

Yo-An Lin edited this page Jun 11, 2017 · 2 revisions

Sometimes your schema might be limited to just one platform, then you may declare the annotation to prevent building schema for the wrong platform:

/**
 * @platform mysql
 */
class TagSchema extends DeclareSchema {  }

The above annotation @platform defines the platform that the schema belongs to. Valid values are mysql, sqlite, pgsql.

Clone this wiki locally