Reputation: 3878
When playing around with the Amplify settings, I discover the Amplify Studio. There you could use DataStore for the existing project but that polluted my generated types for the project.
I can manually delete all _version
and other keys, but when running amplify codegen
-> the unwanted keys will be back.
I want to remove DataStore from my project but I can't find how?
Upvotes: 1
Views: 889
Reputation: 145
I was recently able to accomplish this by doing the following:
amplify update api
GraphQL
Disable conflict detection
amplify push
After the update the _version
and _lastChangedAt
fields were still on the DynamoDB objects, but you can manually remove those if you want them gone.
Upvotes: 3
Reputation: 1027
You can run amplify api remove
in your project root folder.
The other option might be to remove backend from Amplify Console(this is eu-central-1 region, select your region), select your app, select backend environment and there is option 'delete' from dropdown menu
Upvotes: 2