assertTrue( $chado_schema->checkTableExists($table_name), t(':table_name should exist in the :chado schema.', array(':table_name' => $table_name, ':chado' => $schema_name)) ); // Retrieve the schema for this table. // For each column in this table... // Check #2: The given field exists in the table. // Check #3: The field is the type we expect. // For each constraint on this table... // Check #4: The constraint exists. // Check #5: The constraint consists of the columns we expect. } }