Re: [PATCH] migrate the database schema to SQLAlchemy

2020-02-23 Thread Lukas Fleischer
On Sat, 22 Feb 2020 at 23:28:25, Frédéric Mangano-Tarumi wrote: > Lukas Fleischer [2020-02-22 22:43:31 +0100] > > > +5) Create a new MySQL database and a user and import the aurweb SQL > > > schema: > > > + > > > +$ python -m aurweb.initdb > > > + > > > > I noticed that this step is slightly

Re: [PATCH] migrate the database schema to SQLAlchemy

2020-02-22 Thread Frédéric Mangano-Tarumi
Lukas Fleischer [2020-02-22 22:43:31 +0100] > > +5) Create a new MySQL database and a user and import the aurweb SQL schema: > > + > > +$ python -m aurweb.initdb > > + > > I noticed that this step is slightly confusing: the command must be > executed from the aurweb/ subdirectory, not the

Re: [PATCH] migrate the database schema to SQLAlchemy

2020-02-22 Thread Lukas Fleischer
On Sun, 16 Feb 2020 at 21:56:10, Frédéric Mangano-Tarumi wrote: > The new schema was generated with sqlacodegen and then manually adjusted > to fit schema/aur-schema.sql faithfully, both in the organisation of the > code and in the SQL generated by SQLAlchemy. > > Initializing the database now