forked from jappel/leistungsbilanz-ts
All first todos completed
This commit is contained in:
parent
65819900b1
commit
18a4fdd893
29 changed files with 1263 additions and 160 deletions
7
src/db/migrations/0006_device_display_name.sql
Normal file
7
src/db/migrations/0006_device_display_name.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
ALTER TABLE `global_devices` ADD COLUMN `display_name` text;
|
||||
--> statement-breakpoint
|
||||
UPDATE `global_devices` SET `display_name` = `name` WHERE `display_name` IS NULL;
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE `project_devices` ADD COLUMN `display_name` text;
|
||||
--> statement-breakpoint
|
||||
UPDATE `project_devices` SET `display_name` = `name` WHERE `display_name` IS NULL;
|
||||
Loading…
Add table
Add a link
Reference in a new issue