Here's a feature.pgsql file:

CREATE TABLE feature (
  fid serial PRIMARY KEY,
  name varchar(255) NOT NULL default '',
  details varchar(255) NOT NULL default '',
  image varchar(255) NOT NULL default '',
  description text
);

ALTER TABLE feature ADD category numeric(2,0);
ALTER TABLE feature ALTER category SET NOT NULL;
ALTER TABLE feature ALTER category SET DEFAULT '0';

Comments

urbanlegend’s picture

Version: 4.5.x-1.x-dev » 4.7.x-1.0
Issue summary: View changes
Status: Needs review » Closed (outdated)

Given that this issue has not been updated in 8 years or more, I am closing this ticket as outdated (no longer needed and/or relevant). However, if anyone feels this represents an issue that is still being encountered in the current version of Drupal, please reopen and/or provide additional comments.