+
+
+
+
+
+ {newColumns.length === 0 && (
+
+ No additional columns. Table will only have 'id' and 'created_at'.
+
+ )}
+
+ {newColumns.map((col, idx) => (
+
+
+
+ handleColumnChange(idx, "name", e.target.value)}
+ placeholder="col_name"
+ className="h-8 text-sm"
+ />
+
+
+
+
+
+
+
+ ))}
+
+
+ {createError && (
+
+ {createError}
+
+ )}
+