forked from cerc-io/snowballtools-base
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:
committed by
Ashwin Phatak
co-authored by
neeraj
parent
44310d4eb8
commit
2fb048e8ab
@@ -117,6 +117,8 @@ const main = async () => {
|
||||
await dataSource.initialize();
|
||||
|
||||
await generateTestData(dataSource);
|
||||
} else {
|
||||
throw new Error('Database already exists');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user