Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various bugfixes and code improvements #137

Merged
merged 46 commits into from
Apr 28, 2024

Conversation

LaravelFreelancerNL
Copy link
Owner

Additions

  • Added DatabaseMigrations trait
  • Added DatabaseTruncation trait
  • Added getTables method to the schema builder
  • Added support for automatic key generator setting for autoincrement and uuid on id/_key fields
  • Added Self contained EDGE_COLLECTION constant to create-edge migration stub

Bugfixes

  • Fixed premature json encoding/decoding of casts.
  • Removed duplicate getDateFormat function
  • Fixed RefreshData not seeding the DB on the initial migrate:fresh
  • Removed nonsensical hasColumn method from blueprint. (commands are created first, then executed sequentially, a conditional command won't work in this scenario)
  • Fixed isBind regex in query grammar

chores

  • cleaned up test setup
  • improved general code quality
  • added tests

LaravelFreelancerNL and others added 30 commits February 28, 2024 17:42
(commands are created first, then executed sequentially, a conditional command won't work in this scenario)
…nd uuid on id/_key fields.

Added support for autoincrement offset (from)

Restructured schema tests

Added schema tests
Restructured schema tests

Added schema tests
(commands are created first, then executed sequentially, a conditional command won't work in this scenario)
…nd uuid on id/_key fields.

Added support for autoincrement offset (from)

Restructured schema tests

Added schema tests
Restructured schema tests

Added schema tests
LaravelFreelancerNL and others added 16 commits April 28, 2024 19:59
Added ability to set realpath (deprecated in Laravel 11, but used for now) and migrations paths to be used by RefreshDatabase's migrate:fresh
…ore/add-feature-tests

# Conflicts:
#	TestSetup/Database/Migrations/2019_11_15_000000_create_children_edge_table.php
#	bin/qa.sh
#	composer.lock
#	src/Schema/Blueprint.php
#	src/Schema/Grammar.php
#	tests/Query/WheresTest.php
#	tests/Schema/AnalyzerTest.php
#	tests/Schema/SchemaBuilderTest.php
#	tests/Schema/TableTest.php
#	tests/TestCase.php
@LaravelFreelancerNL LaravelFreelancerNL linked an issue Apr 28, 2024 that may be closed by this pull request
@LaravelFreelancerNL LaravelFreelancerNL merged commit d20d04d into next Apr 28, 2024
12 of 13 checks passed
@LaravelFreelancerNL LaravelFreelancerNL deleted the chore/add-feature-tests branch April 28, 2024 18:36
@LaravelFreelancerNL LaravelFreelancerNL linked an issue Apr 28, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure Eloquent compatibility with tests Confirm whereAll/whereAny functionality
1 participant