Scaffold error

Hoping someone call tell me what I’ve done wrong.

I was attempting to create a “static” scaffold (already have the
dynamic one) and received an error message:

“error Before updating scaffolding from new DB schema, try creating a
table for your model (Company)”

I already created a scaffold for Company (class CompanyController). I
want to create some better views. I chose one action / view that I’d
like to implement

ruby scaffold/generate company post , that is when I got the above
error. I made some changes to the database by changing some field
names but that is all.

Thanks
Stuart