-
-
Save gtudan/49615c4665b18b23ab0b1df7af1afb26 to your computer and use it in GitHub Desktop.
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
CREATE SCHEMA tenant1; | |
CREATE TABLE tenant1.users( id BIGINT PRIMARY KEY, user_name VARCHAR(255) NOT NULL); | |
CREATE SCHEMA tenant2; | |
CREATE TABLE tenant2.users( id BIGINT PRIMARY KEY, user_name VARCHAR(255) NOT NULL); | |
INSERT INTO tenant1.users VALUES (1, 'ernie'); | |
INSERT INTO tenant2.users VALUES (1, 'bert'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment