lib/generators/audited/install_generator.rb in audited-4.4.1 vs lib/generators/audited/install_generator.rb in audited-4.5.0
- old
+ new
@@ -11,9 +11,10 @@
include Rails::Generators::Migration
include Audited::Generators::MigrationHelper
extend Audited::Generators::Migration
class_option :audited_changes_column_type, type: :string, default: "text", required: false
+ class_option :audited_user_id_column_type, type: :string, default: "integer", required: false
source_root File.expand_path("../templates", __FILE__)
def copy_migration
migration_template 'install.rb', 'db/migrate/install_audited.rb'