added uid

This commit is contained in:
rulingcom committed 2025-06-16 22:49:11 +08:00
1 parent 5af9cfe9e2
commit 3c117f5db3
1 file changed
+5
@@ -11,6 +11,10 @@ wb.add_worksheet(name: "Structure") do |sheet|
row1 = []
row2 = []
row << "UID"
row1 << "uid"
row2 << "uid"
table.table_columns.asc(:order).each do |column|
case column.type
when "text"
@@ -54,6 +58,7 @@ wb.add_worksheet(name: "Structure") do |sheet|
table.table_entries.asc(:created_at).each do |entry|
row = []
row << entry.uid
table.table_columns.asc(:order).each do |col|
column = entry.column_entries.where(:table_column_id => col.id).first
case col.type