This commit is contained in:
parent
496c221fba
commit
d7e718b032
52
Assets/migration scripts.txt
Normal file
52
Assets/migration scripts.txt
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
|
||||||
|
|
||||||
|
select * from MapLog where SessionId=2 --Ruined Maze D0823E78-15E4-45EE-A396-0A2E891961DC
|
||||||
|
|
||||||
|
select * from MapLog where SessionId=4 --test 6351309A-EFA5-4721-A4BE-AC63995ADB7F
|
||||||
|
|
||||||
|
select * from MapLog where SessionId=5 --daniele 7EB1D6F5-12E2-4A8F-98CD-3351D40F1D26
|
||||||
|
|
||||||
|
select * from MapLog where SessionId=6 --Psyruque BED7EF13-5823-427A-8C40-8BE94A563638
|
||||||
|
|
||||||
|
|
||||||
|
select * from Sessions
|
||||||
|
select * from Snapshots
|
||||||
|
select * from Snapshot where SessionId=2
|
||||||
|
select * from Sessions
|
||||||
|
select * from MapLogs
|
||||||
|
select * from MapLog
|
||||||
|
INSERT INTO Snapshots (Object, SessionId, Timestamp)
|
||||||
|
SELECT Object, "BED7EF13-5823-427A-8C40-8BE94A563638",Timestamp
|
||||||
|
FROM Snapshot
|
||||||
|
WHERE SessionId=6
|
||||||
|
order by SnapshotId
|
||||||
|
|
||||||
|
INSERT INTO MapLogs (Object, Operation, SessionId, Timestamp, Type, UserId)
|
||||||
|
SELECT Object, Operation, "6351309A-EFA5-4721-A4BE-AC63995ADB7F", Timestamp, Type, "cd85a137-a5e8-4e4a-81d2-3e1c94ac9470"
|
||||||
|
FROM MapLog
|
||||||
|
WHERE SessionId =2
|
||||||
|
ORDER BY MapLogId
|
||||||
|
|
||||||
|
INSERT INTO MapLogs (Object, Operation, SessionId, Timestamp, Type, UserId)
|
||||||
|
SELECT Object, Operation, "D0823E78-15E4-45EE-A396-0A2E891961DC", Timestamp, Type, "cd85a137-a5e8-4e4a-81d2-3e1c94ac9470"
|
||||||
|
FROM MapLog
|
||||||
|
WHERE SessionId =4
|
||||||
|
ORDER BY MapLogId
|
||||||
|
|
||||||
|
INSERT INTO MapLogs (Object, Operation, SessionId, Timestamp, Type, UserId)
|
||||||
|
SELECT Object, Operation, "7EB1D6F5-12E2-4A8F-98CD-3351D40F1D26", Timestamp, Type, "cd85a137-a5e8-4e4a-81d2-3e1c94ac9470"
|
||||||
|
FROM MapLog
|
||||||
|
WHERE SessionId =5
|
||||||
|
ORDER BY MapLogId
|
||||||
|
|
||||||
|
INSERT INTO MapLogs (Object, Operation, SessionId, Timestamp, Type, UserId)
|
||||||
|
SELECT Object, Operation, "BED7EF13-5823-427A-8C40-8BE94A563638", Timestamp, Type, "cd85a137-a5e8-4e4a-81d2-3e1c94ac9470"
|
||||||
|
FROM MapLog
|
||||||
|
WHERE SessionId =6
|
||||||
|
ORDER BY MapLogId
|
||||||
|
|
||||||
|
--delete from Snapshots where SessionId="A306DFEE-82A9-4964-942A-1B923B970951"
|
||||||
|
|
||||||
|
|
||||||
|
insert into Snapshots (
|
||||||
|
select * from Snapshot where SessionId=2
|
Loading…
Reference in New Issue
Block a user