Class: KeycloakRails::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- KeycloakRails::Generators::InstallGenerator
- Defined in:
- lib/generators/keycloak_rails/install/install_generator.rb
Constant Summary collapse
- TABLE_NAME =
'keycloak_rails_sso'
Instance Method Summary collapse
Instance Method Details
#generate_keycloak_rails_model ⇒ Object
12 13 14 |
# File 'lib/generators/keycloak_rails/install/install_generator.rb', line 12 def generate_keycloak_rails_model generate :migration, "create_#{TABLE_NAME}", 'recipient:references{polymorphic}', 'sub:string:index' end |