Sha256: bba8e99fe0a769616c8eccc3f182f4dbb1e9822e57cbb275eaed5ff2617f2696
Contents?: true
Size: 336 Bytes
Versions: 3
Compression:
Stored size: 336 Bytes
Contents
class SorceryExternal < ActiveRecord::Migration def change create_table :authentications do |t| t.integer :<%= model_class_name.tableize.singularize %>_id, :null => false t.string :provider, :uid, :null => false t.timestamps end add_index :<%= model_class_name.tableize %>, [:provider, :uid] end end
Version data entries
3 entries across 3 versions & 3 rubygems