mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
14 lines
342 B
TypeScript
14 lines
342 B
TypeScript
import UserInDatabase2 from './00-UserInDatabase2';
|
|
import UserInDatabase3 from './01-UserInDatabase3';
|
|
import HistoryEra from './02-HistoryEra';
|
|
|
|
const migrations = [UserInDatabase2, UserInDatabase3, HistoryEra];
|
|
|
|
const migrate = async () => {
|
|
for await (const migrate of migrations) {
|
|
await migrate();
|
|
}
|
|
};
|
|
|
|
export default migrate;
|