Sha256: 6e92be0aa9e9edba247f00af902a6b793ee49d1029ec982c904bcd6855c3810b
Contents?: true
Size: 155 Bytes
Versions: 119
Compression:
Stored size: 155 Bytes
Contents
class AddSlugToUsers < ActiveRecord::Migration[6.0] def change add_column :users, :slug, :string add_index :users, :slug, unique: true end end
Version data entries
119 entries across 119 versions & 1 rubygems