19
20
21
22
23
24
25
26
27
28
29
30
31
|
# File 'lib/rls_multi_tenant/generators/install/install_generator.rb', line 19
def show_instructions
say "\n#{'=' * 60}", :green
say 'RLS Multi-tenant gem configuration installed successfully!', :green
say '=' * 60, :green
say "\nNext steps:", :yellow
say "\n1. Configure the gem settings in config/initializers/rls_multi_tenant.rb", :yellow
say "\n2. Run the setup generator to create the tenant model and migrations:\n", :yellow
say ' rails generate rls_multi_tenant:setup', :yellow
say "\n3. Run migrations:\n", :yellow
say ' rails db:migrate', :yellow
say "\n4. Use 'rails generate rls_multi_tenant:model' for new multi-tenant models", :yellow
say '=' * 60, :green
end
|