Sequelize error - unimplemented

Running Sequelize on top of the latest version (1.0.4) and getting the error ‘unimplemented at or near “null”’

Executing (default): CREATE TABLE IF NOT EXISTS "users" ("id" SERIAL , "first_name" VARCHAR(255) NOT NULL, "last_name" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL, "companyId" INTEGER REFERENCES "companies" ("id") ON DELETE SET NULL ON UPDATE CASCADE, PRIMARY KEY ("id")); Unhandled rejection SequelizeDatabaseError: unimplemented at or near "null"

My Sequelize config looks like this:

`
const Company = Conn.define(‘company’, {
id: {
type: Sequelize.INTEGER,
primaryKey: true
},
name: {
type: Sequelize.STRING,
allowNull: false
}
})

const User = Conn.define(‘user’, {
id: {
type: Sequelize.INTEGER,
primaryKey: true
},
first_name: {
type: Sequelize.STRING,
allowNull: false
},
last_name: {
type: Sequelize.STRING,
allowNull: false
}
})

Company.hasMany(User)
User.belongsTo(Company)
`

It was complaining about the NULL next to the ON DELETE. Any thoughts?

Issue opened at https://github.com/cockroachdb/cockroach/issues/17803.