MSI\2Fi 10 ay önce
ebeveyn
işleme
c6200c53bb
1 değiştirilmiş dosya ile 11 ekleme ve 0 silme
  1. +11
    -0
      src/main/resources/db/changelog/changes/20241904_01_derek/01_insertGradeLog.sql

+ 11
- 0
src/main/resources/db/changelog/changes/20241904_01_derek/01_insertGradeLog.sql Dosyayı Görüntüle

@@ -0,0 +1,11 @@
-- liquibase formatted sql
-- changeset derek:insert grade_log, position_log, team_log
insert into grade_log(`staffId`, `gradeId`, `from`)
select s.id, s.gradeId, "2012-01-01" from staff s;


insert into position_log(`staffId`, `positionId`, `from`)
select s.id, s.currentPosition, "2012-01-01" from staff s;

insert into team_log(`staffId`, `teamId`, `from`)
select s.id, s.teamId, "2012-01-01" from staff s where s.teamId is not null;

Yükleniyor…
İptal
Kaydet