Sha256: 724bd07d4353eb565c081a781dadc28df10fb4927a3a120f4d946746708c7776
Contents?: true
Size: 624 Bytes
Versions: 12
Compression:
Stored size: 624 Bytes
Contents
require 'rails/generators/active_record' module ActiveRecord module Generators class JeraPushGenerator < ActiveRecord::Generators::Base source_root File.expand_path("../templates", __FILE__) def create_devices_table migration_template "create_jera_push_devices.rb", "db/migrate/create_jera_push_devices.rb" end def create_messages_table migration_template "create_jera_push_messages.rb", "db/migrate/create_jera_push_messages.rb" migration_template "create_jera_push_messages_devices.rb", "db/migrate/create_jera_push_messages_devices.rb" end end end end
Version data entries
12 entries across 12 versions & 1 rubygems