lib/generators/admin/install/install_generator.rb in administration-zero-0.0.1 vs lib/generators/admin/install/install_generator.rb in administration-zero-0.0.2

- old
+ new

@@ -12,10 +12,11 @@ gem "pagy", comment: "Use Pagy to add paginated results [https://github.com/ddnexus/pagy]" gem "ransack", comment: "Use Ransack to enable the creation of search forms for your application [https://github.com/activerecord-hackery/ransack]" gem "spreadsheet_architect", comment: "Spreadsheet Architect is a library that allows you to create XLSX, ODS, or CSV spreadsheets super easily [https://github.com/westonganger/spreadsheet_architect]" end - def create_migrations + def create_db_files + copy_file "db/seeds.rb", "db/seeds.rb", force: true migration_template "migrations/create_admin_users.rb", "#{db_migrate_path}/create_admin_users.rb" end def create_models directory "models/admin", "app/models/admin"