# |
May 5th 2021, 16:35 |
slackebot |
"markstory/asset_compress": "^4.0", "linkorb/jsmin-php": "^1.0", "erwane/cakephp-hcaptcha": "^1.0", "spatie/schema-org": "^3.3", "components/jquery": "~3.5.0", "wyrihaximus/minify-html": "^2.0" },``` Everythink is OK. No Plugin dir and app is working |
# |
May 5th 2021, 16:35 |
erwane |
done. My process : `rm -rf composer.lock Plugin vendor components andand composer install -o --no-dev` ``` "require": { "php": "~7.4.0", "ext-intl": "*", "ext-json": "*", "cakephp/cakephp": "^4.2", "cakephp/migrations": "^3.0", "cakephp/authentication": "^2.6", "holt59/cakephp4-bootstrap-helpers": "^4.0", "twbs/bootstrap": "^4.0", |
# |
May 5th 2021, 16:32 |
kevin.pfeifer |
i would try to re-create your composer.json from the start (require each package at a time) and see when this behaviour starts to appear |
# |
May 5th 2021, 16:29 |
erwane |
`composer/installers` in fact ... Really don't known why it do that :S |
# |
May 5th 2021, 16:25 |
erwane |
The `moment/moment` package do that ... |
# |
May 5th 2021, 16:06 |
me1367 |
Would be dope to see something like that for CakePHP :O |
# |
May 5th 2021, 16:06 |
erwane |
if if relaunch `composer install -o --no-dev` the Plugin dir is still there BUT in vendor dir too (right place) |
# |
May 5th 2021, 16:06 |
me1367 |
Also that dbdocs makes it nice to see everything a bit more "at a glance" |
# |
May 5th 2021, 16:06 |
me1367 |
yea |
# |
May 5th 2021, 16:06 |
kevin.pfeifer |
and that its code based and therefore can be versioned in git |
# |
May 5th 2021, 16:05 |
kevin.pfeifer |
but i was happy just with the table definitions and the realtions |
# |
May 5th 2021, 16:05 |
me1367 |
aye |
# |
May 5th 2021, 16:05 |
kevin.pfeifer |
like index and what else |
# |
May 5th 2021, 16:05 |
kevin.pfeifer |
sure you can add more stuff as well |
# |
May 5th 2021, 16:05 |
erwane |
Hi. Suddenly my `composer install` create a `Plugin` directory in project root and Plugin was not found due to invalid path :S `'WyriHaximus\\MinifyHtml\\' => array($vendorDir . '/wyrihaximus/minify-html/src'),` Bu plugin is in ./Plugin/MinifyHtml dir |
# |
May 5th 2021, 16:05 |
me1367 |
that looks neat |
# |
May 5th 2021, 16:04 |
me1367 |
I currently use Datagrip but it's not really typer friendly. Most of the stuff you have to click, enter something, click a few times, more clicks, type something and so on. Which is inefficient :anguished: |
# |
May 5th 2021, 16:04 |
kevin.pfeifer |
https://dbdocs.io/LordSimal/Alfred |
# |
May 5th 2021, 16:04 |
kevin.pfeifer |
you can even generate something like this |
# |
May 5th 2021, 16:04 |
kevin.pfeifer |
its really nice to adjust and add new things |
# |
May 5th 2021, 16:04 |
kevin.pfeifer |
and after you have it |
# |
May 5th 2021, 16:04 |
kevin.pfeifer |
but i really like it |
# |
May 5th 2021, 16:04 |
me1367 |
yikes |
# |
May 5th 2021, 16:03 |
kevin.pfeifer |
so i had to manually transform my 60 tables which was...... fun |
# |
May 5th 2021, 16:03 |
me1367 |
:P |
# |
May 5th 2021, 16:03 |
kevin.pfeifer |
but nah, it was really working for me |
# |
May 5th 2021, 16:03 |
kevin.pfeifer |
which "should" let you generate SQL => DBML |
# |
May 5th 2021, 16:02 |
kevin.pfeifer |
i can tell you there is a tool |
# |
May 5th 2021, 16:02 |
me1367 |
yea. Atleast the syntax looks nice and similar-ish. It's not like some completely arbitrary language that only starts to make sense when you work with it for a while. |
# |
May 5th 2021, 16:02 |
kevin.pfeifer |
their query language is called DBML https://www.dbml.org/home/ |
# |
May 5th 2021, 16:02 |
kevin.pfeifer |
as you see, thats not really SQL |
# |
May 5th 2021, 16:01 |
slackebot |
"created" datetime [default: `current_timestamp()`] "modified" datetime [default: `current_timestamp()`] } Ref: dns_records.dns_domain_id > dns_domains.id Ref: dns_records.dns_subdomain_id > dns_subdomains.id Ref: dns_records.dns_type_id > dns_types.id``` |
# |
May 5th 2021, 16:01 |
slackebot |
[not null] "created" datetime [default: `current_timestamp()`] "modified" datetime [default: `current_timestamp()`] } Table "dns_subdomains" { "id" int(10) [pk, not null] "name" varchar(255) [not null] "created" datetime [default: `current_timestamp()`] "modified" datetime [default: `current_timestamp()`] } Table "dns_types" { "id" int(10) [pk, not null] "name" varchar(255) [not null] "php_ident" int(11) [not null] |
# |
May 5th 2021, 16:01 |
kevin.pfeifer |
```Table "dns_domains" { "id" int(10) [pk, not null] "name" varchar(255) [not null] "created" datetime [default: `current_timestamp()`] "modified" datetime [default: `current_timestamp()`] } Table "dns_records" { "id" int(10) [pk, not null] "dns_domain_id" int(10) [not null] "dns_subdomain_id" int(10) [not null] "dns_type_id" int(10) [not null] "record" text [default: NULL] "bundle_ident" int(10) |
# |
May 5th 2021, 16:01 |
me1367 |
ahhh. That's a bummer but well, if it's only a few simple clicks to generate the SQL? Eh, that's acceptable. |
# |
May 5th 2021, 16:00 |
kevin.pfeifer |
but you can't put SQL in there and it looks like that |
# |
May 5th 2021, 16:00 |
kevin.pfeifer |
well yeah you can generate SQL from their own Query Language |
# |
May 5th 2021, 16:00 |
me1367 |
That's odd since it does claim so... |
# |
May 5th 2021, 15:59 |
kevin.pfeifer |
but the conversion isn't that bad |
# |
May 5th 2021, 15:59 |
kevin.pfeifer |
unfortunately its not directly compatible with SQL and needs its own language |
# |
May 5th 2021, 15:59 |
me1367 |
Thanks : > |