Rashmi Bidanta
02/03/2021, 4:10 PMCreating stage prod for service service-name... !
error 03-Feb-2021 08:12:09
error 03-Feb-2021 08:12:09 ERROR: Service with name 'service-name' and stage 'prod' already exists
error 03-Feb-2021 08:12:09
error 03-Feb-2021 08:12:09 {
error 03-Feb-2021 08:12:09 "data": {
error 03-Feb-2021 08:12:09 "addProject": null
error 03-Feb-2021 08:12:09 },
error 03-Feb-2021 08:12:09 "errors": [
error 03-Feb-2021 08:12:09 {
error 03-Feb-2021 08:12:09 "locations": [
error 03-Feb-2021 08:12:09 {
error 03-Feb-2021 08:12:09 "line": 2,
error 03-Feb-2021 08:12:09 "column": 9
error 03-Feb-2021 08:12:09 }
error 03-Feb-2021 08:12:09 ],
error 03-Feb-2021 08:12:09 "path": [
error 03-Feb-2021 08:12:09 "addProject"
error 03-Feb-2021 08:12:09 ],
error 03-Feb-2021 08:12:09 "code": 4005,
error 03-Feb-2021 08:12:09 "message": "Service with name 'service-name' and stage 'prod' already exists",
error 03-Feb-2021 08:12:09 "requestId": "local:ckkpkke6206ih08004ib5c5zx"
error 03-Feb-2021 08:12:09 }
error 03-Feb-2021 08:12:09 ],
error 03-Feb-2021 08:12:09 "status": 200
error 03-Feb-2021 08:12:09 }
any help on this would be really greatRyan
02/04/2021, 9:24 AMRashmi Bidanta
02/04/2021, 3:06 PMRyan
02/04/2021, 3:42 PMRashmi Bidanta
02/04/2021, 3:44 PMservice-name1
and still be able to access the same database with service-name1$prod
?Rashmi Bidanta
02/04/2021, 3:46 PMRashmi Bidanta
02/04/2021, 3:48 PMprisma delete -e ENV-FILE
prisma deploy -e ENV-FILE
Rashmi Bidanta
02/04/2021, 3:49 PMRashmi Bidanta
02/04/2021, 3:53 PMRyan
02/04/2021, 4:16 PMRashmi Bidanta
02/04/2021, 4:18 PMservice-name$prod
Ryan
02/04/2021, 4:26 PMAlso it would be helpful to know why this situation might arise all of a sudden while the system is in place for a while now and we have never had any problems with thatYes that’s strange as well. Did the Migration table have any external changes or missing the initial migration or something?
Ryan
02/04/2021, 4:27 PMAlso I was thinking that if we create a new service then would it not create a new schema in the database something likeYes but I thought creating the service again with the same name might have helped, but I’m not sure of that.service-name$prod
Rashmi Bidanta
02/04/2021, 4:34 PMRyan
02/04/2021, 5:19 PM