Sha256: 4e58e1d0c29b90e11c522b59de769e254934e65c927b2bfb3e6675be1ddd0e10
Contents?: true
Size: 597 Bytes
Versions: 6
Compression:
Stored size: 597 Bytes
Contents
class CreateAdminReferenceTypes < ActiveRecord::Migration[7.2] def change create_table :reference_types do |t| t.string :name # short name, ex: "cog" t.string :reference_type # human-readable name, ex: "Cloud Optimized GeoTIFF (COG)" t.string :reference_uri # key name, ex: "https://github.com/cogeotiff/cog-spec" t.boolean :label, default: false # optional download label t.text :note # optional note t.integer :position # position for sorting t.timestamps end end end
Version data entries
6 entries across 6 versions & 1 rubygems