Skip to content

Commit df858c3

Browse files
committed
ensure pagila-migration example is not default executable
1 parent 072937d commit df858c3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

beam-postgres/examples/pagila.cabal

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ library
2828
beam-postgres,
2929
beam-migrate
3030
hs-source-dirs: src
31-
3231

33-
executable pagila
32+
executable pagila-print
3433
import: warnings
3534
main-is: Main.hs
3635
build-depends: base,

beam-postgres/examples/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
There are two executables:
44

5-
### 1. `cabal run`
5+
### 1. `cabal run pagila-print`
66
`cabal run` to see rendering of Postgres migration. This converts the Haskell to SQL statements and prints these to the console.
77

88
### 2. Destructive: apply migration to Postgres instance

0 commit comments

Comments
 (0)