Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Fix nullable for references #34

Merged
merged 1 commit into from
Feb 4, 2020
Merged

Fix nullable for references #34

merged 1 commit into from
Feb 4, 2020

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Feb 4, 2020

No description provided.

@mvorisek mvorisek mentioned this pull request Feb 4, 2020
Copy link
Member

@DarkSide666 DarkSide666 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DarkSide666 DarkSide666 merged commit e6ed7a4 into atk4:develop Feb 4, 2020
@mvorisek mvorisek deleted the fix_references_nullable branch February 4, 2020 16:05
DarkSide666 added a commit that referenced this pull request Feb 11, 2020
* add migrator console

* Add but more documentation

* fix up readme

* schema should not depend on development packages

* develop to require develop versions

* fix alter field

* add drop field

* add comment

* add changelog

* fix version requirement

* Update composer.json

* Update composer.json

* Update composer.json

* Update BasicTest.php

* Update SchemaTestcaseTest.php

* Update phpunit.xml

* Update .travis.yml

* Update phpunit.xml

* Update SchemaTestcaseTest.php

* Update phpunit.xml

* Update SchemaTestcaseTest.php

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update SchemaTestcaseTest.php

* move abstract testcase to tests

* Apply fixes from StyleCI

* enable debug

* Apply fixes from StyleCI

* move

* fix dsn

* proper dsn

* Update README.md

* globals

* Apply fixes from StyleCI

* work on dsn

* Apply fixes from StyleCI

* ouch

* include both tests - sqlite and mysql

* fix

* fix types

* disable unsupported test

* add comment

* remove debug

* fix codeclimate config

* fix escape_char

* debug

* Apply fixes from StyleCI

* crap

* PostGre suppport

* set max_connections

* support PostGreSQL starting from v.10 only

* get rid of connection

* Update .codeclimate.yml

* add support for changing field name

* Apply fixes from StyleCI

* Update Migration.php

* add rename table support

* Extend to all DataType options with PHPUnit Tests

* add transcode table for field type => datatype database
* tested on SQLite and MySQL

* Change default Type from VARCHAR256 to TEXT

more space is better than less, this class is very useful during development,
after that will be disabled and database must be optimized with other tools.

i changed because i had a problem storing serialized EXIF in array datatype

* drop php 5.6 support

* Add transcoding for Field Reference_One
climate error correction

* Reformatting and change variables name

switch to codeformatting PSR-1,PSR-2
add hasOne in Test

* add creation of file models class via console to "reverse engineering" DB

fixed mysql float was mistyped uppercase

* Add Doc for function createModelFromTable

* Adjust naming for transcodes on SQLite

* add hasOne detect field type

* Remove some editor autoadd - f... phpstorm

* format code in ->getTranscodeTypeKeyFromField

* compatibility with new data namespace

* Apply fixes from StyleCI

* better handling of text, array and object fields. also fix few others.

* Apply fixes from StyleCI

* add type options

* added changelog

* working on version dependencies

* for development branch we need development dependencies

* make types easier to extend and improve PgSQL types support

* Apply fixes from StyleCI

* more dependencies and easier to extend migrator console

* oops

* no need for this anymore

* implements factory method getMigration, uses connection->driver, few changes in phpunit test suite, more tests

* Apply fixes from StyleCI

* change docs

* Better PostgreSQL support

* fix datetime mess

* typo

* use getFields() in Model rather than hack through elements

* Composer - Drop PHP < 7.2

* Big refactor

* Merge remote-tracking branch 'remotes/atk4/develop' into add-type-transcoding

* StyleCi

* StyleCi 1

* remove php < 7.2 from travis

* Removed function for creation of Model File

* Refactor variable names and removed extra line

* Refactor 1 comment to be consistent with the others below

* Add support for GitHub actions (#17)

* Add GitHub Action support

* disable travis

* tweak bundler

* wip

* wip

* wip

* Update unit-tests.yml

* Apply fixes from StyleCI

* Add test case (#21)

* separate wf and local tests

* fix host

* better testcase

* Apply fixes from StyleCI

* Fix english plural (#28)

* Fix changes count for empty type (#32)

* Improve column creation - add not-null and unsigned for int refs option (#29)

* Fix nullable for references (#34)

* Fix CS to PSR-12 (#35)

* Change CS config to PSR-12

* Change CS to PSR-12 - fix errors by phpcbf

Command: php vendor\squizlabs\php_codesniffer\bin\phpcbf

* Apply fixes from StyleCI

* Feature/release mechanics (#36)

* add require-release

* Update bundler.yml

* Update bundler.yml

* Update composer.json

* Update bundler.yml

* Update bundler.yml

* Update composer.json

* Update composer.json

* Update bundler.yml

* Update composer.json

* Setting release dependencies

* fix bad merge, code duplication

Co-authored-by: Romans Malinovskis <[email protected]>
Co-authored-by: Imants Horsts <[email protected]>
Co-authored-by: Francesco Danti <[email protected]>
Co-authored-by: Michael Voříšek <[email protected]>
Co-authored-by: GitHub Web Flow <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants