-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make the start work for postgres 14 and 13
- Loading branch information
Showing
4 changed files
with
31 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
CREATE DATABASE _supabase WITH OWNER postgres; | ||
|
||
-- Switch to the newly created _supabase database | ||
\c _supabase | ||
-- Create schemas in _supabase database for | ||
-- internals tools and reports to not overload user database | ||
-- with non-user activity | ||
CREATE SCHEMA IF NOT EXISTS _realtime; | ||
ALTER SCHEMA _realtime OWNER TO postgres; | ||
CREATE SCHEMA IF NOT EXISTS realtime; | ||
ALTER SCHEMA realtime OWNER TO postgres; | ||
|
||
CREATE SCHEMA IF NOT EXISTS _analytics; | ||
ALTER SCHEMA _analytics OWNER TO postgres; | ||
|
||
CREATE SCHEMA IF NOT EXISTS _supavisor; | ||
ALTER SCHEMA _supavisor OWNER TO postgres; | ||
\c postgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters