Sha256: bea5d53ca105133534628a77837ad3c2599b568a6bdbef606971cd813fdfd9a2
Contents?: true
Size: 807 Bytes
Versions: 16
Compression:
Stored size: 807 Bytes
Contents
# frozen_string_literal: true # This migration creates the citations table for works_cited class CreateWorksCitedCitations < ActiveRecord::Migration[6.1] # rubocop:disable Metrics/AbcSize def change create_table :works_cited_citations do |t| t.string :citation_type t.string :media t.string :title t.string :container_title t.string :publisher t.string :city t.string :edition t.string :volume t.string :number t.string :series t.string :year t.string :pages t.string :url t.string :online_database t.string :doi t.timestamp :published_at t.timestamp :accessed_at t.references :record, polymorphic: true, null: false t.timestamps end end # rubocop:enable Metrics/AbcSize end
Version data entries
16 entries across 16 versions & 1 rubygems