Skip to content

Commit 27e0de4

Browse files
doc(fxsql): Specify "IF NOT EXISTS" in migration documentation (ankorstore#266)
2 parents c4591dc + 6ba9431 commit 27e0de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/fxsql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ And create them following [Goose SQL migrations](https://github.com/pressly/goos
173173

174174
```sql title="db/migrations/00001_create_foo_table.sql"
175175
-- +goose Up
176-
CREATE TABLE foo (
176+
CREATE TABLE IF NOT EXISTS foo (
177177
id INTEGER NOT NULL PRIMARY KEY,
178178
bar VARCHAR(255)
179179
);

0 commit comments

Comments
 (0)