diff --git a/database/migrations/0002_team.sql b/database/migrations/0002_team.sql
index 70405345..ed4fd046 100644
--- a/database/migrations/0002_team.sql
+++ b/database/migrations/0002_team.sql
@@ -1,5 +1,6 @@
CREATE TABLE team(
team_id TEXT NOT NULL UNIQUE,
+ grafana_id TEXT UNIQUE,
team_name TEXT NOT NULL,
personal BOOLEAN NOT NULL,
subscription subscription,
diff --git a/database/src/tables/team/select.rs b/database/src/tables/team/select.rs
index 848ea4a3..42a7453c 100644
--- a/database/src/tables/team/select.rs
+++ b/database/src/tables/team/select.rs
@@ -11,7 +11,9 @@ impl Db {
tx: Option<&mut Transaction<'_, sqlx::Postgres>>,
team_id: &String,
) -> Result