Ik probeer een tabel te maken zoals aangegeven in deze beschrijving voor PostGreSql:
CREATE SEQUENCE phpbb_newsfeeds_id_seq start 1 increment 1 maxvalue 2147483647 minvalue 1 cache 1;
CREATE TABLE phpbb_newsfeeds (
feed_id int4 DEFAULT nextval('phpbb_newsfeeds_id_seq'::text) NOT NULL,
forum_id int4 default '0' NOT NULL,
user_id int4 default '0' NOT NULL,
news_url varchar(255) default '' NOT NULL,
news_name varchar(60),
news_limit int4 default '0' NOT NULL,
news_active int2 default '1' NOT NULL,
include_channel int2 default '1' NOT NULL,
include_image int2 default '1' NOT NULL,
CONSTRAINT phpbb_newsfeeds_pkey PRIMARY KEY (feed_id)
);
CREATE INDEX forum_id_phpbb_newsfeeds_index ON phpbb_newsfeeds (forum_id);
Wat mijn database zegt, als ik hem invoer:
https://imageproxy-io.herokuapp.com/66372104c194d7dc1bc523d689d6bc1885f31d7e/687474703a2f2f73706965726f2e6f6c692e747564656c66742e6e6c2f696d616765732f6372656174657461626c6531
Kan iemand mij vertellen wat ik fout doe?