Skip to content

Commit

Permalink
Merge pull request #229 from Sanketika-Obsrv/user-table-update
Browse files Browse the repository at this point in the history
#OBS-I320: updated oauth_users table
  • Loading branch information
ravismula authored Dec 31, 2024
2 parents aade0d4 + 2e3980b commit 88b8faa
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ UPDATE datasources SET is_primary = true, name = datasource;
ALTER TABLE connector_instances ADD COLUMN IF NOT EXISTS name TEXT;

GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO obsrv;
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO obsrv;
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO obsrv;

ALTER TABLE oauth_users ADD COLUMN is_owner BOOLEAN DEFAULT FALSE;
UPDATE oauth_users SET is_owner=true WHERE user_name ='obsrv_admin';

0 comments on commit 88b8faa

Please sign in to comment.