import { MigrationInterface, QueryRunner } from 'typeorm';

export class AddHomeSignalServerUrl1000000000012 implements MigrationInterface {
  name = 'AddHomeSignalServerUrl1000000000012';

  public async up(queryRunner: QueryRunner): Promise<void> {
    await queryRunner.query(`ALTER TABLE "users" ADD COLUMN "homeSignalServerUrl" TEXT`);
  }

  public async down(queryRunner: QueryRunner): Promise<void> {
    // SQLite column removal requires table rebuilds. Keep rollback no-op.
  }
}
