Sha256: cc96187b8753cf1e95c00aa1e6dcce197dd698689113776279e61d158fee3a49

Contents?: true

Size: 444 Bytes

Versions: 26

Compression:

Stored size: 444 Bytes

Contents

require "rails/generators/active_record"

module PgAuditLog
  module Generators
    class InstallGenerator < Rails::Generators::Base
      include Rails::Generators::Migration
      extend ::ActiveRecord::Generators::Migration

      source_root File.expand_path('../templates', __FILE__)

      def install
        directory "lib/tasks"
        migration_template "migration.rb", "db/migrate/install_pg_audit_log"
      end

    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
pg_audit_log-0.6.3 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.6.2 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.6.1 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.6.0 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.5.6 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.5.5 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.5.4 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.5.2 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.5.1 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.5.0 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.4.5 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.4.4 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.4.0 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.3.6 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.3.5 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.3.4 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.3.3 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.3.2 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.3.1 lib/generators/pg_audit_log/install_generator.rb
pg_audit_log-0.3.0 lib/generators/pg_audit_log/install_generator.rb