@athenna/database
Version:
The Athenna database handler for SQL/NoSQL.
19 lines (18 loc) • 442 B
JavaScript
/**
* @athenna/database
*
* (c) João Lenon <lenon@athenna.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import { Config } from '@athenna/config';
export class BaseMigration {
/**
* Define the database connection that the
* migration will use.
*/
static connection() {
return Config.get('database.default');
}
}