diff --git a/server/src/infra/database/migrations/20240531083601_establishment-source.ts b/server/src/infra/database/migrations/20240531083601_establishment-source.ts index 5373e2b0d..29ad4fc75 100644 --- a/server/src/infra/database/migrations/20240531083601_establishment-source.ts +++ b/server/src/infra/database/migrations/20240531083601_establishment-source.ts @@ -3,7 +3,7 @@ import type { Knex } from "knex"; export async function up(knex: Knex): Promise { await knex.schema.alterTable('establishments', (table) => { - table.string('source').notNullable(); + table.string('source').notNullable().defaultTo('seed'); }); }