Sha256: 81ffe17463837903858eae404af11aad98774430c225dd0258ca0a9191e997d9

Contents?: true

Size: 487 Bytes

Versions: 17

Compression:

Stored size: 487 Bytes

Contents

require "rails/generators/active_record/migration"

module CronoTrigger
  module Generators
    class InstallGenerator < Rails::Generators::Base
      include ActiveRecord::Generators::Migration

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

      desc "Create migration for CronoTrigger System Table"
      def create_migration_file
        migration_template "install.rb", File.join(db_migrate_path, "create_crono_trigger_system_tables.rb")
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
crono_trigger-0.8.3 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.8.1 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.8.0 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.7.1 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.7.0 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.6.4 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.6.3 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.6.2 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.6.1 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.6.0 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.5.4 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.5.3 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.5.2 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.5.1 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.5.0 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.4.0 lib/generators/crono_trigger/install/install_generator.rb
crono_trigger-0.3.4 lib/generators/crono_trigger/install/install_generator.rb