Comments (5)
The performance_indicators
belongs to Spark migrations, not Clumsy. I cannot think of a reason why it would error out with that message, unless it failed to register the migration in the appropriate table after running.
Have your tried clearing the database and starting over?
You don't necessarily need to define an admin route. Whatever route you add the clumsy
middleware to will automatically become and "admin" environment.
I'll see if I can mix Spark and Clumsy sometime soon and get back to you. If in the meantime you make any progress, let me know.
from clumsy.
Hi Tomas,
Thanks for getting back to me.
I'll see if I can mix Spark and Clumsy sometime soon and get back to you. If in the meantime you make any progress, let me know.
...meanwhile, I'm going to set up a completely fresh install of Laravel with just Clumsy on top and see what happens. Probably could have tried that before. But, it would be good if you could try mixing Spark and Clumsy to see what you get.
I await the results of your investigation with interest.
With kind regards,
Mark
from clumsy.
Hi Mark,
I've tested a fresh installation of Spark with Clumsy and was able to migrate back and forth without any problems. Can you backup your stuff and start over from scratch?
I'm guessing you had a problem during one of your migrations which prevented you from completing it, but your database was somehow compromised during the process.
Any other information you can provide would help to debug your particular case, but I'm confident this is not an issue with Clumsy itself.
from clumsy.
Hi Tomas,
Thanks for your continued help with this.
I have realised something after having started from scratch with a fresh Laravel and just Clumsy...
After running php artisan clumsy:resource post
the CLE came up with the following messages:
- Add this to your routes.php: Route::resource('post', 'PostsController');
and
- Add this to DatabaseSeeder.php: $this->call(PostsSeeder::class);
and I didn't quite know what to do with this stuff. I've now worked out that I didn't need to edit routes.php, but web.php
, found in clumsy/routes
, and the exact code I needed to add there, you provide in your instructions. The code for DatabaseSeeder.php
was easy to add in.
Once I'd done that, running php artisan migrate
was successful in creating the posts table and a visit to http://example.co.uk/admin/post
showed me your CMS.
Thanks again for your help. It turns out there was no issue! Smashing.
With kind regards,
Mark
from clumsy.
The instructions to edit routes.php are outdated, thanks for pointing it out. I'll fix this when I have time. Glad to know you're issue is resolved!
from clumsy.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clumsy.