Skip to content

Commit

Permalink
make gateway name unique
Browse files Browse the repository at this point in the history
  • Loading branch information
kambizzandi committed Sep 5, 2022
1 parent a302ca6 commit 14f1920
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* Migration File: m20220905_153042_Interfaces_ObjectStorage_make_gateway_name_unique.sql */
/* CAUTION: don't forget to use {{dbprefix}} for schemas */

USE `{{dbprefix}}{{Schema}}`;

ALTER TABLE `tblUploadGateways`
ADD UNIQUE INDEX `ugwName` (`ugwName`);

0 comments on commit 14f1920

Please sign in to comment.