added uid
This commit is contained in:
parent
5af9cfe9e2
commit
3c117f5db3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue