feat(appstore): add service volumes and published ports
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { BaseMigration } from './base-migration.ts';
|
||||
import type { TQueryFunction } from '../types.ts';
|
||||
|
||||
export class Migration016ServiceVolumes extends BaseMigration {
|
||||
readonly version = 16;
|
||||
readonly description = 'Add persistent volume declarations to services';
|
||||
|
||||
up(query: TQueryFunction): void {
|
||||
query(`ALTER TABLE services ADD COLUMN volumes TEXT DEFAULT '[]'`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user