Skip to content

Commit b9b69ac

Browse files
committed
feature(api,pkg): add migrations to convert recorded sesisons into Asciinema
To be able to use our recorded sessions as Asciinema files, we migrated registers from this collection into session's events', turning them into events of a session, as others SSH request types, deleting the older collection, `recorded_sessions`, from the database. With events, we can sort and process them easily into the Asciinema records, as we can obtain all data needed in one single collection.
1 parent c1a6090 commit b9b69ac

File tree

7 files changed

+1343
-1
lines changed

7 files changed

+1343
-1
lines changed

api/store/mongo/migrations/main.go

+3
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ func GenerateMigrations() []migrate.Migration {
103103
migration91,
104104
migration92,
105105
migration93,
106+
migration94,
107+
migration95,
108+
migration96,
106109
}
107110
}
108111

0 commit comments

Comments
 (0)