Sha256: 8e3f74e53558d912cd1a8e849ceb30ca9abb727f34e5af7e71b26e5ca8358045
Contents?: true
Size: 424 Bytes
Versions: 2
Compression:
Stored size: 424 Bytes
Contents
class CreateCasActivities < ActiveRecord::Migration[5.0] def change create_table :cas_activities, id: :uuid do |t| t.uuid :site_id t.uuid :user_id t.string :event_name t.uuid :subject_id t.string :subject_type t.timestamps end add_index :cas_activities, :site_id add_index :cas_activities, :user_id add_index :cas_activities, [:subject_id, :subject_type] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cas-cms-1.0.0.alpha2 | db/migrate/20180114124600_create_cas_activities.rb |
cas-cms-1.0.0.alpha1 | db/migrate/20180114124600_create_cas_activities.rb |