Sha256: 08c0f849ac5558d25f7004921356c9d58df76b4368694ab0405bc3c0e50e04a4
Contents?: true
Size: 432 Bytes
Versions: 33
Compression:
Stored size: 432 Bytes
Contents
class CreateRailsBaseAdminActions < ActiveRecord::Migration[5.2] def change create_table :admin_actions do |t| t.bigint :admin_user_id, null: false t.bigint :user_id t.string :action , null: false t.string :change_from t.string :change_to t.text :long_action t.timestamps end add_index :admin_actions, :admin_user_id add_index :admin_actions, :user_id end end
Version data entries
33 entries across 33 versions & 1 rubygems