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
-
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
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
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
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
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
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
7 matches
Mail list logo