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 Migration017ServicePublishedPorts extends BaseMigration {
|
||||
readonly version = 17;
|
||||
readonly description = 'Add raw published port declarations to services';
|
||||
|
||||
up(query: TQueryFunction): void {
|
||||
query(`ALTER TABLE services ADD COLUMN published_ports TEXT DEFAULT '[]'`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user