[web2py] Migrations

2018-11-20 Thread Ben Duncan
Is it necessary to enable or even do migrations in the DAL (creating database/ entries) if the database and the tables are already preexisting ? Thanks ... *Ben Duncan* DBA / Chief Software Architect Mississippi State Supreme Court Electronic Filing Division -- Resources: - http://web2py.com -

Re: [web2py] Migrations not working on Postgres

2012-05-28 Thread Michele Comitini
The error refers to the transaction being not usable anymore. So the error happened erlier somewhere, but web2py traps it and lets the application go on with an unsusable transaction. Probably a bug. You can try to increase logging to log errors in posrgesql.conf and restart the server, then you

[web2py] Migrations not working on Postgres

2012-05-27 Thread Jason Brower
I have my system runing on sqlite at my dev environment, but when I push to production which uses postres I get this: Ticket ID 80.75.108.196.2012-05-28.05-45-56.74d0c90a-1a1b-4b60-8ba6-c13af5955bbb current transaction is aborted, commands ignored until end of transaction

[web2py] Migrations for altering data?

2011-04-15 Thread pbreit
It's not possible to create a migration manually to alter database data, is it? Has this capability been discussed? Do people generally just create a controller or something? I was thinking like South and Rails: http://south.aeracode.org/docs/index.html http://guides.rubyonrails.org/migrations.h

[web2py] Migrations Problem: two fields added, two not added

2011-04-08 Thread Lennon
I added the follow fields to my table: Field('rooming_requests','string', length=500, label='Do you have any rooming requests?', widget=SQLFORM.widgets.text.widget, requires=[IS_LENGTH(500)]), Field('misc_info','string', length=500, label='Anything else you would like us to know?', widget=SQLFORM

[web2py] Migrations questions (help!)

2010-11-18 Thread Lorin Rivers
My database is PostgreSQL I have tables defined in my ../models/db.py Now I want to add some fields to one of the tables defined there. The table has data in it already. I tried modifying the original table definition but that didn't actually change the table's structure. Where should I make

[web2py] migrations using standalone dal.py for a separate python project

2010-08-15 Thread Bruno Rocha
I am using DAL for a python Tcl/Tk project I made a copy of "gluon" folder and I am trying DAL from command shell as: >>> from dal import * now I have DAL and Field and everything works very well, but not the Migrations. >>>db.define_table('person') ok I have a person table just with the id >>>db