This extension adds "Models" section in KMS and allows to define custom models on-the-fly. Supported fields for definition in Model: String, Text, Checkbox, File, HasMany, BelongsTo. Note that this extension requires at least PostgreSQL 9.2 because of JSON column type.
Add to Gemfile
gem "kms_models"
# or for edge version:
gem "kms_models", github: "webgradus/kms_models"
Run generator:
rails g kms_models:install
Copy migrations:
rails kms_models:install:migrations
Migrate:
bundle exec rails db:migrate
Recompile assets:
bundle exec rails assets:precompile
Restart KMS instance
Please watch this video to start using KMS Models:
Please follow CONTRIBUTING.md.