migration.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php defined('BASEPATH') OR exit('No direct script access allowed');
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Enable/Disable Migrations
  5. |--------------------------------------------------------------------------
  6. |
  7. | Migrations are disabled by default but should be enabled
  8. | whenever you intend to do a schema migration.
  9. |
  10. */
  11. $config['migration_enabled'] = FALSE;
  12. /*
  13. |--------------------------------------------------------------------------
  14. | Migrations version
  15. |--------------------------------------------------------------------------
  16. |
  17. | This is used to set migration version that the file system should be on.
  18. | If you run $this->migration->latest() this is the version that schema will
  19. | be upgraded / downgraded to.
  20. |
  21. */
  22. $config['migration_version'] = 0;
  23. /*
  24. |--------------------------------------------------------------------------
  25. | Migrations Path
  26. |--------------------------------------------------------------------------
  27. |
  28. | Path to your migrations folder.
  29. | Typically, it will be within your application path.
  30. | Also, writing permission is required within the migrations path.
  31. |
  32. */
  33. $config['migration_path'] = APPPATH . 'migrations/';
  34. /* End of file migration.php */
  35. /* Location: ./application/config/migration.php */