-
Amy Troschinetz authored
**app/models/ci_platform_metric.rb:** - Implements BulkSafeInsert - Changes validation to allow "" for platform_target - Changes validation to check for integer count - Changes validation to check for count > 0 **db/structure.sql:** - Adds constraint for count > 0 **db/migrate/20200908183231_add_check_positive_ constraint_to_ci_platform_metrics.rb:** - Adds migration for constraint count > 0 **db/schema_migrations/20200908183231:** - Migration artifact **spec/models/ci_platform_metric_spec.rb:** - Updates spec tests for changes to model **changelogs/unreleased/ci-platform-metrics-bulk-insert.yml:** - It's a changelog
e60d9b5c