foreignKeyTables static method

dynamic foreignKeyTables()

Implementation

static foreignKeyTables() {
  return TableDatabase(
    column: [
      ColumnDatabase(name: 'id', typeData: DataType.integer, primaryKey: true, autoIncrement: true),
      ColumnDatabase(name: 'name_table', typeData: DataType.text),
      ColumnDatabase(name: 'name_column', typeData: DataType.text),
      ColumnDatabase(name: 'name_table_target', typeData: DataType.text),
      ColumnDatabase(name: 'name_column_target', typeData: DataType.text),
      ColumnDatabase(name: 'on_delete', typeData: DataType.text),
      ColumnDatabase(name: 'on_update', typeData: DataType.text),
    ],
    tableName: '_sql_query_foreign_key',
  );
}