mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
dbf53cae6a
#13643 Updating the `policies` table to use a checksum column for uniqueness. The checksum is computed with team_id (which may be null) and name. This change is modeled on the checksum in the software table. # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Added/updated tests - [x] If database migrations are included, checked table schema to confirm autoupdate - For database migrations: - [x] Checked schema for all modified table for columns that will auto-update timestamps during migration. - [x] Confirmed that updating the timestamps is acceptable, and will not cause unwanted side effects. - [x] Manual QA for all new/changed functionality
2 lines
94 B
Plaintext
2 lines
94 B
Plaintext
Policy names are now unique per team -- different teams can have policies with the same name.
|