Sha256: c36443f4e084b928f62e8f46d56b6033afb608c3387a0a49c01ec2033163e632
Contents?: true
Size: 342 Bytes
Versions: 3
Compression:
Stored size: 342 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
3 entries across 3 versions & 1 rubygems