-2

I have an annoying model that I accidentally created that keeps interfering with my cake schema run update command. how can I destroy this model?

ok, I believe it is just easier to remove model file. I was just curious about cakephp-scripts implementation but it's not really necessary.

tereško
  • 58,060
  • 25
  • 98
  • 150
lollercoaster
  • 15,969
  • 35
  • 115
  • 173

2 Answers2

3

This should be located in

/install-dir
    /app
        /models
            model.php

For comment:

I know Unix.

cd /path/to/your/install-dir/app/models
rm model.php

Obviously you would replace that path with whatever is valid for your install. Depending on your permissions you may need to sudo rm that as well.

Also: http://www.westwind.com/reference/os-x/commandline/

Charles Sprayberry
  • 7,741
  • 3
  • 41
  • 50
1

From command line: DEL C:\path-to-your-project\app\models\hated-model.php

bancer
  • 7,475
  • 7
  • 39
  • 58