Add GQL mutation to update deployment to production (#39)

* Add mutation to update deployment to production

* Implement gql client mutation and frontend to update deployment to production

* Add toast message when deployment is changed to production

* Throw error from init db script if db aleardy exists

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
This commit is contained in:
2024-02-01 11:37:57 +05:30
committed by Ashwin Phatak
co-authored by neeraj
parent 44310d4eb8
commit 2fb048e8ab
12 changed files with 117 additions and 16 deletions
+2
View File
@@ -117,6 +117,8 @@ const main = async () => {
await dataSource.initialize();
await generateTestData(dataSource);
} else {
throw new Error('Database already exists');
}
};