mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
dont initialize columns when creating a table
This commit is contained in:
@@ -40,7 +40,7 @@ const useSettings = () => {
|
||||
//create the firetable collection doc with empty columns
|
||||
db.collection("_FIRETABLE_/settings/schema")
|
||||
.doc(data.collection)
|
||||
.set({ ...data, columns: [] }, { merge: true });
|
||||
.set({ ...data }, { merge: true });
|
||||
};
|
||||
|
||||
const updateTable = (data: {
|
||||
|
||||
Reference in New Issue
Block a user