Slim Hmidi
Slim Hmidi
@LoganTann @Aiko-Suzuki which version of deno you are using? because with the fix that @Aiko-Suzuki did, I got these errors now: ``` error: TS2578 [ERROR]: Unused '@ts-expect-error' directive. // @ts-expect-error...
it's clear, because even in the PR check there are the same log errors, you can check them https://github.com/eveningkid/denodb/pull/347/checks
I have the same issue, `db.sync()` throws an error when `drop ` set to false.
I have 3 models `User`, `Product` and `Review`. I don't want to erase the tables when I start the server because drop set to true removes everything. with drop: false...
I think sync() should verify first if the table exists or not then creates it. Currently without any options it creates the models automatically.
I took a look before at that function. To reproduce the issue you can create those models: ```ts import { DataTypes, Model } from "https://deno.land/x/[email protected]/mod.ts"; import { Database, PostgresConnector, }...
Thanks for that, so I need to do a workaround to accomplish that until it will be taken into consideration in the future.
I created a migration file to accomplish my task (it's not clean but it does the work) and I think that the sync method is overengineering and contains a lot...
I don't know if it is the same problem as you but I got this error when I run the tests: ``` Boot failed Error: A metric with the name...
there is also another typo: ``` acc_values = history_dict['acc'] plt.plot(epochs, acc, 'bo', label='Training acc') ``` should be: ``` plt.plot(epochs, acc_values , 'bo', label='Training acc') ```