Sha256: 95ac6c257fa5918a5ef7d2fd05d20d569d4efbec85024503546106ef5cd1a692
Contents?: true
Size: 201 Bytes
Versions: 63
Compression:
Stored size: 201 Bytes
Contents
class AddQuestionnaireRefToUsers < ActiveRecord::Migration[4.2] def change change_table(:questionnaires) do |t| t.references :user end add_index :questionnaires, :user_id end end
Version data entries
63 entries across 63 versions & 1 rubygems