简体   繁体   English

您可以从 Amplify 项目中删除 DataStore 吗?

[英]Can you remove DataStore from an Amplify project?

When playing around with the Amplify settings, I discover the Amplify Studio.在使用 Amplify 设置时,我发现了 Amplify Studio。 There you could use DataStore for the existing project but that polluted my generated types for the project.在那里,您可以将 DataStore 用于现有项目,但这会污染我为项目生成的类型。

I can manually delete all _version and other keys, but when running amplify codegen -> the unwanted keys will be back.我可以手动删除所有_version和其他键,但是在运行amplify codegen -> 不需要的键时会回来。

I want to remove DataStore from my project but I can't find how?我想从我的项目中删除 DataStore 但我找不到怎么做?

You can run amplify api remove in your project root folder.您可以在项目根文件夹中运行amplify api remove

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另一个选项可能是从Amplify 控制台中删除后端(这是 eu-central-1 区域,select 您的区域),select 您的应用程序,select 是您的应用程序,select 是来自后端下拉菜单的选项 'EFCFdelet4'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM