Displaying 2 results from an estimated 2 matches for "idstatussir_sig".
2006 Jan 28
0
having problems to map a existing schema in model classes
...gn key: idstatussir references status_sir: idstatussir
Foreign key: idstatussir_next references status_sir: idstatussir
No primary key in the table status_sir_next, so I don?t know what to do,
the idea is that if you are in state 2, then you will have two tuples in
status_sir_next:
Idstatussir: 2 Idstatussir_sig: 3
Idstatussir: 2 Idstatussir_sig: 4
So now you know that if you are in state 2 you can go to state 3 or 4
Well, that?s all, I already did something, in example:
class Aplicacion < ActiveRecord::Base
#Setear el nombre de la tabla y la primary key
set_table_name &q...
2006 Jan 28
0
having problems to map a existing schema into model classes
...gn key: idstatussir references status_sir: idstatussir
Foreign key: idstatussir_next references status_sir: idstatussir
No primary key in the table status_sir_next, so I don?t know what to do,
the idea is that if you are in state 2, then you will have two tuples in
status_sir_next:
Idstatussir: 2 Idstatussir_sig: 3
Idstatussir: 2 Idstatussir_sig: 4
So now you know that if you are in state 2 you can go to state 3 or 4
Well, that?s all, I already did something, in example:
class Aplicacion < ActiveRecord::Base
#Setear el nombre de la tabla y la primary key
set_table_name &q...