Sha256: c238b4b54b2ec21f8cebadcfaa8eb5d8fd9fa34379c931465991c51f391090f9
Contents?: true
Size: 280 Bytes
Versions: 7
Compression:
Stored size: 280 Bytes
Contents
# frozen_string_literal: true class AddEmailBackToUser < ActiveRecord::Migration[4.2] def change add_column :users, :email, :string, null: false, default: '' add_index :users, :email, unique: true end end
Version data entries
7 entries across 7 versions & 1 rubygems