mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Add support for comma-separated POTA references across the app: bump migration version to 259 and add migration 260 to expand COL_MY_POTA_REF and station_pota to VARCHAR(255). Introduce Pota::split_refs and collect_refs_from_rows to normalize and aggregate multiple refs; refactor Pota counts to compute unique refs per band/mode. Normalize station_pota when saving in Stations and Logbook_model (uses normalize_pota_refs), and adjust POTA search to match refs inside comma-separated values. Update views to render multiple POTA links and hashtags, and add Selectize-based autocomplete for station POTA input on create/edit forms. Also minor change to user_owns_station query (removed user_id where clause).
41 lines
1.3 KiB
PHP
41 lines
1.3 KiB
PHP
<?php defined('BASEPATH') or exit('No direct script access allowed');
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Enable/Disable Migrations
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Migrations are disabled by default but should be enabled
|
|
| whenever you intend to do a schema migration.
|
|
|
|
|
*/
|
|
$config['migration_enabled'] = TRUE;
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Migrations version
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This is used to set migration version that the file system should be on.
|
|
| If you run $this->migration->latest() this is the version that schema will
|
|
| be upgraded / downgraded to.
|
|
|
|
|
*/
|
|
|
|
$config['migration_version'] = 259;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Migrations Path
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Path to your migrations folder.
|
|
| Typically, it will be within your application path.
|
|
| Also, writing permission is required within the migrations path.
|
|
|
|
|
*/
|
|
$config['migration_path'] = APPPATH . 'migrations/';
|
|
|
|
|
|
/* End of file migration.php */
|
|
/* Location: ./application/config/migration.php */
|