Skip to content

Commit

Permalink
fix: enable postgis extension in postgresql
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarcon committed Nov 13, 2023
1 parent 4f4c57c commit 67e7e8f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Knex } from "knex";


export async function up(knex: Knex): Promise<void> {
await knex.schema.raw('CREATE EXTENSION IF NOT EXISTS postgis')
await knex.schema.alterTable('professional', (table) => {
table.dropColumns('areaDelivery')
table.integer('radius').nullable()
Expand Down

0 comments on commit 67e7e8f

Please sign in to comment.