BrenekH / encodarr

Self-hosted web app for encoding files to a target format using distributed computing.
Mozilla Public License 2.0
63 stars 6 forks source link

Add UNIQUE constraint to files.path #120

Closed BrenekH closed 3 years ago

BrenekH commented 3 years ago

Fixes #112 by adding a UNIQUE constraint to the path field in the files table. This likely was left out when the move to golang-migrate happened and this change adds it back in.

Unfortunately, databases will need to be recreated if they were generated after 0.3.0.