Sha256: 64ebe2d79ce55dca351f490ef37019c32b21874ed5d34cedcd669e452833d254
Contents?: true
Size: 1.17 KB
Versions: 2
Compression:
Stored size: 1.17 KB
Contents
h3 | Current database schema small= "Version #{schema_version}" ul.list-unstyled.tables - @ar_classes.each do |ar_class| - first_record = ar_class.unscoped.order(:id).first li.ar_class data-table-name=ar_class.table_name table.table.table-striped.table-hover.table-bordered caption span.name= ar_class.table_name small.count #{ar_class.unscoped.count} rows thead tr th.col-sm-1.pk PK th.col-sm-2.name Name th.col-sm-1.type Type th.col-sm-1.null Non-Null th.col-sm-1.limit Limit th.col-sm-2.default Default th.col-sm-4.data unscoped.first tbody - ar_class.columns.each do |column| tr td.pk.icon= column.name == ar_class.primary_key ? icon_fa('check-circle') : '' td.monospace= column.name td= column.type td.null.icon= column.null ? '' : icon_fa('check') td.limit.number= column.limit td= column.default td.monospace= first_record.try {|r| truncate(r.read_attribute_before_type_cast(column.name).to_s, length: 50) }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adhoq-0.0.5 | app/views/adhoq/current_tables/index.html.slim |
adhoq-0.0.4 | app/views/adhoq/current_tables/index.html.slim |