summaryrefslogtreecommitdiffstats
path: root/sql/channel_update_parentid.sql
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-12-07 19:06:52 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2011-12-07 19:06:52 +0100
commit39081f84a402aebb52d98a43e4675c90135cea9b (patch)
tree9c188a70367774c721b745818b74d059f9ce119c /sql/channel_update_parentid.sql
parent2397764dd0e5efa2b613fd22f6bf9c183d07160b (diff)
downloadts3db_postgres-39081f84a402aebb52d98a43e4675c90135cea9b.tar.gz
ts3db_postgres-39081f84a402aebb52d98a43e4675c90135cea9b.tar.xz
ts3db_postgres-39081f84a402aebb52d98a43e4675c90135cea9b.zip
added sql files
Diffstat (limited to 'sql/channel_update_parentid.sql')
-rw-r--r--sql/channel_update_parentid.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/channel_update_parentid.sql b/sql/channel_update_parentid.sql
new file mode 100644
index 0000000..0ed7201
--- /dev/null
+++ b/sql/channel_update_parentid.sql
@@ -0,0 +1,3 @@
+update channels
+ set channel_parent_id = :parent_id:
+ where channel_id = :channel_id: ;