'How to add integer array column to H2 Database

ALTER TABLE my_table ADD COLUMN my_integers Integer[];

ALTER TABLE my_table ADD COLUMN my_integers Array[Integer];

Do not work.

ALTER TABLE my_table ADD COLUMN my_integers array;

Works. But there's no type.

h2


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source