Great, thanks a lot, Dan!
Best,
Manuel
On Mon, May 6, 2019 at 6:18 PM Dan Kennedy wrote:
>
> On 6/5/62 16:42, Manuel Rigger wrote:
> > Hi everyone,
> >
> > the following example fails with an error "no such column: c0":
> >
> > CREATE TABLE t0 (c0 INTEGER, PRIMARY KEY (c0)) WITHOUT ROWID;
> >
On 6/5/62 16:42, Manuel Rigger wrote:
Hi everyone,
the following example fails with an error "no such column: c0":
CREATE TABLE t0 (c0 INTEGER, PRIMARY KEY (c0)) WITHOUT ROWID;
ALTER TABLE t0 RENAME COLUMN c0 TO c1;
Thanks again for the bug reports. This one is now fixed here:
Hi everyone,
the following example fails with an error "no such column: c0":
CREATE TABLE t0 (c0 INTEGER, PRIMARY KEY (c0)) WITHOUT ROWID;
ALTER TABLE t0 RENAME COLUMN c0 TO c1;
However, specifying c0 as the PRIMARY KEY in the column definition rather
than in a table constraint seems to work:
3 matches
Mail list logo