mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 09:51:59 +03:00
15071a3bc9
Relates to https://github.com/hasura/graphql-engine/issues/7755 This includes: 1. SQL Server 2. Citus And removes the persistent-based testing in favor of duplicating the schema setup, data insertion and teardown. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3030 Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com> GitOrigin-RevId: ab03e68436d2ae07a9ddeb5a499ff41e48d0e2d6
18 lines
255 B
Transact-SQL
18 lines
255 B
Transact-SQL
CREATE DATABASE hasura;
|
|
GO
|
|
|
|
USE hasura;
|
|
GO
|
|
|
|
CREATE SCHEMA hasura;
|
|
GO
|
|
|
|
CREATE LOGIN hasura WITH PASSWORD='Hasura1!', DEFAULT_DATABASE=hasura;
|
|
GO
|
|
|
|
CREATE USER hasura FOR LOGIN hasura WITH DEFAULT_SCHEMA=hasura;
|
|
GO
|
|
|
|
ALTER ROLE db_owner ADD MEMBER hasura;
|
|
GO
|