class CreateBanalDocuments
typed: true
Public Instance Methods
change()
click to toggle source
# File server/redux-os/db/migrate/20190913143313_create_banal_documents.rb, line 3 def change create_table :banal_documents do |t| t.text :global_path t.references :banal_metadata, null: false, foreign_key: true t.references :banal_related_object, null: false, foreign_key: true t.timestamps end end