-7031: Constraint or default for data type LONG not allowed 

Explanation:

In the CREATE TABLE statement a LONG column as well as a CONSTRAINT or DEFAULT DEFINITION were specified. <CONSTRAINT> or <DEFAULT definition>s are not allowed for LONG columns.

User Action:

Remove the CONSTRAINT or DEFAULT definition from the SQL statement.