-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate remaining data categories (#5073)
- Loading branch information
Showing
9 changed files
with
648 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
6 changes: 6 additions & 0 deletions
6
src/fides/api/alembic/migrations/helpers/database_functions.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import uuid | ||
|
||
|
||
def generate_record_id(prefix): | ||
"""Generates an ID that can be used for a database table row ID.""" | ||
return prefix + "_" + str(uuid.uuid4()) |
Oops, something went wrong.