Skip to content

Commit

Permalink
Update 2004020.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
nya-elimu authored Aug 21, 2024
1 parent 8341951 commit 7a280e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/db/migration/2004020.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 2.4.20

ALTER TABLE `Device` DROP COLUMN `androidId`;
ALTER TABLE `Device` CHANGE `deviceId` `androidId` VARCHAR(255);
ALTER TABLE `Device` CHANGE `deviceId` `androidId` VARCHAR(255) NOT NULL;
ALTER TABLE `Device` ADD CONSTRAINT `UK_c2646199whiqrkjbht7hwyr3v` UNIQUE (`androidId`);

0 comments on commit 7a280e8

Please sign in to comment.