[Pypi-checkins] r959 - trunk/pypi/tools

"Martin v. Löwis" martin at v.loewis.de
Tue Aug 23 12:00:40 CEST 2011


> ==============================================================================
> --- (empty file)
> +++ trunk/pypi/tools/sql-migrate-20110823-2.sql	Tue Aug 23 08:45:02 2011
> @@ -0,0 +1,7 @@
> +create table csrf_tokens (
> +  name    text REFERENCES users(name) ON DELETE CASCADE,
> +  token   text,
> +  end_date timestamp without time zone,
> +  PRIMARY KEY(name)
> +);
> +

Isn't the proper spelling of that

create table csrf_tokens (
  name    text PRIMARY KEY REFERENCES users(name) ON DELETE CASCADE,
  token   text,
  end_date timestamp without time zone
);

Regards,
Martin


More information about the Pypi-checkins mailing list