firecmsco / firecms

Awesome Firebase/Firestore-based CMS. The missing admin panel for your Firebase project!
https://firecms.co
Other
1.12k stars 184 forks source link

Future Request: Support multiple databases in single project #607

Open Fsher07 opened 6 months ago

Fsher07 commented 6 months ago

As you know, we can now create more than one database and in my opinion it is very useful. Also firebase itself suggests to use the property to separate prod-staging environments. In FireCMS, it is very easy to do it. We just need to add a database id to useFirestoreDataSource hook. Then, use that parameter as the second input of getFireStore. If it empty, it automatically gets the default database