summaryrefslogtreecommitdiff
path: root/lib/output/pq/sql
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output/pq/sql')
-rw-r--r--lib/output/pq/sql/updateSourceRotate.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/output/pq/sql/updateSourceRotate.sql b/lib/output/pq/sql/updateSourceRotate.sql
new file mode 100644
index 0000000..74e22fc
--- /dev/null
+++ b/lib/output/pq/sql/updateSourceRotate.sql
@@ -0,0 +1,4 @@
+UPDATE mygrate.source SET
+ filename = $1,
+ position = $2
+WHERE source_id = $3