createTables static method

dynamic createTables({
  1. required Database database,
})

Implementation

static createTables({required Database database}) async {
  await ProgramQuery(database: database).createTable();
  await ProgramStageQuery(database: database).createTable();
  await ProgramStageSectionQuery(database: database).createTable();
  await ProgramStageSectionDataElementQuery(database: database).createTable();
  await ProgramStageDataElementOptionQuery(database: database).createTable();
  await AttributeOptionQuery(database: database).createTable();
  await ProgramTrackedEntityAttributeQuery(database: database).createTable();
  await ProgramStageDataElementQuery(database: database).createTable();
  await ProgramRuleQuery(database: database).createTable();
  await ProgramRuleActionQuery(database: database).createTable();
  await ProgramRuleVariableQuery(database: database).createTable();
  await ProgramSectionQuery(database: database).createTable();
  await TrackedEntityAttributeQuery(database: database).createTable();
  await ProgramSectionAttributeQuery(database: database).createTable();
  await ProgramRelationshipQuery(database: database).createTable();
}