Sha256: 96d67a6cf7222ea13da5de40c52d750d3b068164f5ae14b464bd3c92ea45430a
Contents?: true
Size: 351 Bytes
Versions: 7
Compression:
Stored size: 351 Bytes
Contents
class SorceryExternal < <%= migration_class_name %> 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 :null => false end add_index :authentications, [:provider, :uid] end end
Version data entries
7 entries across 7 versions & 1 rubygems