Converting integer column to reference doesn't work

Wappler Version : 4.7.0
Operating System : MacOS
Server Model: NodeJS
Database Type: PostgreSQL
Hosting Type: Docker
Experimental options: Enabled

Expected behavior

In the database manager, changing an integer column to a reference would work

Changing integer “book_id” to reference to table books.id

Actual behavior

Migration doesn’t do anything useful:

table.integer('book_id').alter().unsigned();

I was expecting it to setup the reference. Instead, it just changes it to be an unsigned integer

Similar bug report:

Any progress on this @George? Since you’ve been working on the database manager lately

This has been fixed in Wappler 4.8.3

This topic was automatically closed after 2 days. New replies are no longer allowed.