lib/generators/audited/templates/install.rb in audited-4.4.1 vs lib/generators/audited/templates/install.rb in audited-4.5.0
- old
+ new
@@ -3,10 +3,10 @@
create_table :audits, :force => true do |t|
t.column :auditable_id, :integer
t.column :auditable_type, :string
t.column :associated_id, :integer
t.column :associated_type, :string
- t.column :user_id, :integer
+ t.column :user_id, :<%= options[:audited_user_id_column_type] %>
t.column :user_type, :string
t.column :username, :string
t.column :action, :string
t.column :audited_changes, :<%= options[:audited_changes_column_type] %>
t.column :version, :integer, :default => 0