From bec21ff3e03930796b751775c72709faa810b9d9 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Sat, 20 Mar 2021 23:26:29 +0000 Subject: [PATCH] Add default topic creation --- lib/Pear/LocalLoop/Command/dev_data.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/Pear/LocalLoop/Command/dev_data.pm b/lib/Pear/LocalLoop/Command/dev_data.pm index c230c4a..759a539 100644 --- a/lib/Pear/LocalLoop/Command/dev_data.pm +++ b/lib/Pear/LocalLoop/Command/dev_data.pm @@ -90,7 +90,13 @@ sub run { }, } ); - + + $c->schema->resultset('DeviceToken')->create( + { + name => 'default' + } + ); + return 1; }