Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
240a415
refactor: Multiple Enhancements
usernane Jan 21, 2026
acaea2d
refactor: Removal of Create Command
usernane Jan 21, 2026
3a09c01
refactor: Locating `ClassLoader`
usernane Jan 26, 2026
128ee8f
refactor: Fix `writeConstructor`
usernane Jan 26, 2026
39c6391
refactor: No Longer Needed
usernane Jan 28, 2026
c603b74
test: Removed Deprecated Test Cases
usernane Jan 28, 2026
e1a6e81
fix(cli): object-to-string conversion errors
usernane Jan 28, 2026
0e6efc7
test: Fix test Expectations
usernane Jan 28, 2026
0d8058d
refactor(cli): Split `add` Command
usernane Jan 29, 2026
2b189be
feat: Create Middleware Command
usernane Jan 29, 2026
fab0c39
feat: Create Background Task Command
usernane Jan 29, 2026
3c88ecf
feat: Create CLI Command
usernane Jan 29, 2026
3c4944c
feat: Create Domain Entity
usernane Jan 29, 2026
ff39f02
feat: Web Services Writer
usernane Jan 29, 2026
6fe3be5
feat: Create Table Command
usernane Jan 29, 2026
498c214
feat: Create Repo
usernane Jan 29, 2026
78d5ecf
feat: Create CRUD Resource
usernane Jan 29, 2026
4f87f0d
chore: Added CS Fixer
usernane Feb 3, 2026
78f8c36
refactor: Enhanced Starter Page
usernane Feb 3, 2026
6e74dd2
Update RestServiceWriter.php
usernane Feb 3, 2026
3e64be3
chore: Remove Non-Needed Files
usernane Feb 4, 2026
e281dfa
chore: CS Fixer
usernane Feb 4, 2026
3198d56
refactor: Rename Initialization Class
usernane Feb 8, 2026
94775c5
chore: Run CS Fixer
usernane Feb 8, 2026
3afeaec
chore: Rename Folders
usernane Feb 8, 2026
ff3f35e
chore: Rename Folders
usernane Feb 8, 2026
5767cdd
test: Fix Test Case
usernane Feb 8, 2026
f598610
fix: Method Call
usernane Feb 8, 2026
e5f845c
fix: Check for Empty `--class-name`
usernane Feb 8, 2026
e82be41
test: Updated Test Cases
usernane Feb 8, 2026
192c2f0
fix: Initialization Path
usernane Feb 9, 2026
11d4f04
refactor: Move `run` Migrations
usernane Feb 9, 2026
56b5443
refactor: Move `rollback` Migrations
usernane Feb 9, 2026
9ac070d
refactor: Move `init` Migrations
usernane Feb 9, 2026
a4eb634
refactor: Move `dry-run` Migrations
usernane Feb 9, 2026
cbd6b29
refactor: Move `status` Migrations
usernane Feb 9, 2026
e0d6490
test: Move test Cases
usernane Feb 9, 2026
3781a6a
refactor: Remove Old Migrations Command
usernane Feb 9, 2026
47d6a27
test: Added More Migrations Tests
usernane Feb 9, 2026
d5f732b
feat: Added `migrations:fresh` Command
usernane Feb 9, 2026
989cf6d
feat: Create Migration
usernane Feb 9, 2026
b3038d0
feat: Create Seeder
usernane Feb 9, 2026
e3950b6
feat: Add Dependencies and Envs
usernane Feb 9, 2026
67d8a9f
test: Updated Test Cases
usernane Feb 11, 2026
2183643
refactor: Masked Password For DB
usernane Feb 11, 2026
240e0dd
refactor: use of `getSupportedDataTypes`
usernane Feb 11, 2026
1d6340c
feat: Added Options to `AttributeTableWriter`
usernane Feb 11, 2026
12a88a9
refactor: Use of Masked Input
usernane Feb 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ public function __construct() {
parent::__construct('Third One', 2);
}
/**
* Performs the action that will apply the migration.
*
* Performs the action that will revert back the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function up(Database $schema) : void {
//TODO: Implement the action which will apply the migration to database.
public function down(Database $schema) : void {
//TODO: Implement the action which will revert back the migration.
}
/**
* Performs the action that will revert back the migration.
*
* Performs the action that will apply the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function down(Database $schema) : void {
//TODO: Implement the action which will revert back the migration.
public function up(Database $schema) : void {
//TODO: Implement the action which will apply the migration to database.
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ public function __construct() {
parent::__construct('Second one', 1);
}
/**
* Performs the action that will apply the migration.
*
* Performs the action that will revert back the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function up(Database $schema) : void {
//TODO: Implement the action which will apply the migration to database.
public function down(Database $schema) : void {
//TODO: Implement the action which will revert back the migration.
}
/**
* Performs the action that will revert back the migration.
*
* Performs the action that will apply the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function down(Database $schema) : void{
//TODO: Implement the action which will revert back the migration.
public function up(Database $schema) : void {
//TODO: Implement the action which will apply the migration to database.
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,19 @@ public function __construct() {
parent::__construct('First One', 0);
}
/**
* Performs the action that will apply the migration.
*
* Performs the action that will revert back the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function up(Database $schema) : void {
//TODO: Implement the action which will apply the migration to database.
public function down(Database $schema) : void {
//TODO: Implement the action which will revert back the migration.
}
/**
* Performs the action that will revert back the migration.
*
* Performs the action that will apply the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function down(Database $schema) : void {
//TODO: Implement the action which will revert back the migration.
public function up(Database $schema) : void {
//TODO: Implement the action which will apply the migration to database.
}

}
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
<?php
namespace App\Database\Migrations\Multi;

use PHPUnit\TextUI\XmlConfiguration\Migration;
use WebFiori\Database\ConnectionInfo;
use WebFiori\Database\Schema\SchemaRunner;
use const APP_PATH;
use const DS;


class MultiRunner extends SchemaRunner {

public function __construct() {
$conn = new ConnectionInfo('mssql', SQL_SERVER_USER, SQL_SERVER_PASS, SQL_SERVER_DB, SQL_SERVER_HOST, 1433, [
'TrustServerCertificate' => 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,17 @@ public function __construct() {
parent::__construct('Third One', 2);
}
/**
* Performs the action that will apply the migration.
*
* Performs the action that will revert back the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function up(Database $schema) {

public function down(Database $schema) {
}
/**
* Performs the action that will revert back the migration.
*
* Performs the action that will apply the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function down(Database $schema) {

public function up(Database $schema) {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ public function __construct() {
parent::__construct('Second one', 1);
}
/**
* Performs the action that will apply the migration.
*
* Performs the action that will revert back the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function up(Database $schema) {
//TODO: Implement the action which will apply the migration to database.
public function down(Database $schema) {
$schema->do();
}
/**
* Performs the action that will revert back the migration.
*
* Performs the action that will apply the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function down(Database $schema) {
$schema->do();
public function up(Database $schema) {
//TODO: Implement the action which will apply the migration to database.
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ public function __construct() {
parent::__construct('First One', 0);
}
/**
* Performs the action that will apply the migration.
*
* Performs the action that will revert back the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function up(Database $schema) {
//TODO: Implement the action which will apply the migration to database.
public function down(Database $schema) {
//TODO: Implement the action which will revert back the migration.
}
/**
* Performs the action that will revert back the migration.
*
* Performs the action that will apply the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function down(Database $schema) {
//TODO: Implement the action which will revert back the migration.
public function up(Database $schema) {
//TODO: Implement the action which will apply the migration to database.
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@

use WebFiori\Database\ConnectionInfo;
use WebFiori\Database\Schema\SchemaRunner;
use const APP_PATH;
use const DS;


class MultiErrRunner extends SchemaRunner {

public function __construct() {
$conn = new ConnectionInfo('mssql', SQL_SERVER_USER, SQL_SERVER_PASS, SQL_SERVER_DB, SQL_SERVER_HOST, 1433, [
'TrustServerCertificate' => 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ public function __construct() {
parent::__construct('Third One', 2);
}
/**
* Performs the action that will apply the migration.
*
* Performs the action that will revert back the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function up(Database $schema) {
$this->x();
public function down(Database $schema) {
$schema->y();
}
/**
* Performs the action that will revert back the migration.
*
* Performs the action that will apply the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function down(Database $schema) {
$schema->y();
public function up(Database $schema) {
$this->x();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ public function __construct() {
parent::__construct('Second one', 1);
}
/**
* Performs the action that will apply the migration.
*
* Performs the action that will revert back the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function up(Database $schema) {
//TODO: Implement the action which will apply the migration to database.
public function down(Database $schema) {
//TODO: Implement the action which will revert back the migration.
}
/**
* Performs the action that will revert back the migration.
*
* Performs the action that will apply the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function down(Database $schema) {
//TODO: Implement the action which will revert back the migration.
public function up(Database $schema) {
//TODO: Implement the action which will apply the migration to database.
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ public function __construct() {
parent::__construct('First One', 0);
}
/**
* Performs the action that will apply the migration.
*
* Performs the action that will revert back the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function up(Database $schema) {
//TODO: Implement the action which will apply the migration to database.
public function down(Database $schema) {
//TODO: Implement the action which will revert back the migration.
}
/**
* Performs the action that will revert back the migration.
*
* Performs the action that will apply the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function down(Database $schema) {
//TODO: Implement the action which will revert back the migration.
public function up(Database $schema) {
//TODO: Implement the action which will apply the migration to database.
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class MultiErrRunner extends SchemaRunner {

public function __construct() {
$conn = new ConnectionInfo('mssql', SQL_SERVER_USER, SQL_SERVER_PASS, SQL_SERVER_DB, SQL_SERVER_HOST, 1433, [
'TrustServerCertificate' => 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ public function __construct() {
parent::__construct('Third One', 2);
}
/**
* Performs the action that will apply the migration.
*
* Performs the action that will revert back the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function up(Database $schema) {
$this->x();
public function down(Database $schema) {
$schema->y();
}
/**
* Performs the action that will revert back the migration.
*
* Performs the action that will apply the migration.
*
* @param Database $schema The database at which the migration will be applied to.
*/
public function down(Database $schema) {
$schema->y();
public function up(Database $schema) {
$this->x();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class XRunner extends SchemaRunner {

public function __construct() {
parent::__construct(null);
}
Expand Down
File renamed without changes.
13 changes: 0 additions & 13 deletions App/Init/InitAutoLoad.php

This file was deleted.

12 changes: 0 additions & 12 deletions App/Init/InitCliCommands.php

This file was deleted.

13 changes: 0 additions & 13 deletions App/Init/InitCommands.php

This file was deleted.

13 changes: 0 additions & 13 deletions App/Init/InitMiddleware.php

This file was deleted.

13 changes: 0 additions & 13 deletions App/Init/InitPrivileges.php

This file was deleted.

Loading
Loading