how to change the name of database in firebase
如何在Firebase中更改数据库名称
Can we change the name of a database in Cloud Firestore? I didn't give name to the database. I want to change the name of the database from
sample-51580 to sample. In the Firebase console, I could not find a way to do this.
我们可以在Cloud FiRestore中更改数据库的名称吗?我没有给数据库起名字。我想将数据库名称从SAMPLE-51580更改为SAMPLE。在Firebase控制台中,我找不到这样做的方法。
更多回答
This should correspond to the name of your project? Also, this is unrelated to Flutter, please remove the Flutter tag.
这应该与您的项目名称相对应?另外,这与颤振无关,请去掉颤振标签。
no you cannot, you might have to create a new firebase project
不,您不能,您可能需要创建新的Firebase项目
优秀答案推荐
The name you're showing in your screenshot if the project ID. There is no way to modify this ID once a project has been created. If you want a different project ID, you'll have to create a new project.
如果是项目ID,则在屏幕截图中显示的名称。一旦创建了项目,就无法修改此ID。如果您想要一个不同的项目ID,则必须创建一个新项目。
This does like a XY problem though, so you might want to think/explain what underlying problem you're trying to solve here.
不过,这确实像是XY问题,所以您可能想要思考/解释您试图在这里解决的潜在问题。
These days you don't have to start a new project. Just create a extra Firestore database in Google Cloud Console, see this link at Google Cloud docs for more information.
如今,你不必开始一个新的项目。只需在Google Cloud控制台中创建一个额外的FiRestore数据库,请参阅Google Cloud Docs中的此链接以获取更多信息。
更多回答
我是一名优秀的程序员,十分优秀!