mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-20 16:45:16 +00:00
Ready to implement migration
This commit is contained in:
20
src/migrations/MigrationsList.ts
Normal file
20
src/migrations/MigrationsList.ts
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* List of currently available migrations
|
||||
*
|
||||
* @author Pierre Hubert
|
||||
*/
|
||||
|
||||
interface Migration {
|
||||
id: string,
|
||||
func: () => Promise<void>
|
||||
}
|
||||
|
||||
export const MigrationsList : Migration[] = [
|
||||
|
||||
// Account image migration (files -> database, May 2020)
|
||||
{
|
||||
id: "account_image_2020",
|
||||
func: undefined
|
||||
}
|
||||
|
||||
]
|
Reference in New Issue
Block a user