From 7fd0dc3a25b52e21e4930708949d5e3f024a15cb Mon Sep 17 00:00:00 2001 From: lyx0 <66651385+lyx0@users.noreply.github.com> Date: Sun, 3 Dec 2023 22:32:37 +0100 Subject: [PATCH] add forsen to channels --- cmd/nourybot/main.go | 2 +- migrations/000001_create_channels_table.up.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/nourybot/main.go b/cmd/nourybot/main.go index 6217c24..2d657d1 100644 --- a/cmd/nourybot/main.go +++ b/cmd/nourybot/main.go @@ -47,7 +47,7 @@ type application struct { var envFlag string func init() { - flag.StringVar(&envFlag, "env", "dev", "database connection to use: (dev/prod)") + flag.StringVar(&envFlag, "env", "prod", "database connection to use: (dev/prod)") flag.Parse() } func main() { diff --git a/migrations/000001_create_channels_table.up.sql b/migrations/000001_create_channels_table.up.sql index 77fbde7..9de128d 100644 --- a/migrations/000001_create_channels_table.up.sql +++ b/migrations/000001_create_channels_table.up.sql @@ -9,5 +9,6 @@ INSERT INTO channels (added_at,login,twitchid) VALUES (NOW(),'nouryxd','31437432'), (NOW(),'nourybot','596581605'), (NOW(),'uudelleenkytkeytynyt','465178364'), + (NOW(),'forsen','22484632'), (NOW(),'xnoury','197780373');