Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- create_table "atencions", :force => true do |t|
- t.integer "atencion_porc_autorizacion"
- t.date "atencion_fecha"
- t.decimal "atencion_costo"
- t.date "atencion_fecha_alta"
- t.integer "servicio_id", :null => false
- t.integer "socio_id", :null => false
- t.integer "profesional_id", :null => false
- t.integer "institucion_id", :null => false
- end
- create_table "cuotas", :force => true do |t|
- t.string "cuota_tipo_pago"
- t.decimal "cuota_monto"
- t.string "cuota_tarjeta"
- t.string "cuota_tarjeta_empresa"
- t.date "cuota_vencimiento"
- t.date "cuota_fecha_pago"
- t.integer "socio_id", :null => false
- end
- create_table "especialidads", :force => true do |t|
- t.string "especialidad"
- t.string "descripcion"
- end
- create_table "farmacias", :force => true do |t|
- t.string "farmacia_nombre"
- t.string "farmacia_direccion"
- t.string "farmacia_tel"
- end
- create_table "institucions", :force => true do |t|
- t.string "institucion_nombre"
- t.string "institucion_direccion"
- t.string "institucion_tel"
- end
- create_table "logins", :force => true do |t|
- t.string "user"
- t.string "password"
- t.datetime "created_at"
- t.datetime "updated_at"
- end
- create_table "medicamentos", :force => true do |t|
- t.string "medicamento_nombre"
- t.string "medicamento_precio"
- t.boolean "medicamento_recetado"
- t.string "medicamento_prospecto"
- end
- create_table "medicamentoxfarmacias", :force => true do |t|
- t.integer "farmacia_id"
- t.integer "medicamento_id"
- end
- create_table "medicamentoxrecetas", :id => false, :force => true do |t|
- t.integer "receta_id", :null => false
- t.integer "medicamento_id", :null => false
- t.integer "mxr_cantidad"
- t.text "mxr_observacion"
- end
- create_table "plans", :force => true do |t|
- t.string "plan_nombre"
- t.decimal "plan_costo"
- t.string "plan_descripcion"
- t.decimal "plan_costoxfamiliar", :precision => 8, :scale => 2, :default => 0.0
- end
- create_table "profesionals", :force => true do |t|
- t.string "profesional_nombre"
- t.string "profesional_direccion"
- t.string "profesional_matricula"
- t.string "profesional_tel"
- t.string "profesional_profesion"
- end
- create_table "profesionalxinstitucions", :id => false, :force => true do |t|
- t.integer "profesional_id", :null => false
- t.integer "institucion_id", :null => false
- t.date "fecha_alta", :null => false
- t.date "fecha_baja"
- end
- create_table "recetas", :force => true do |t|
- t.date "receta_fecha"
- t.integer "atencion_id", :null => false
- end
- create_table "servicios", :force => true do |t|
- t.string "servicio_nombre"
- t.string "servicio_descripcion"
- t.integer "servicio_complejidad", :default => 1
- end
- create_table "servicioxinstitucions", :force => true do |t|
- t.integer "institucion_id"
- t.integer "servicio_id"
- t.datetime "created_at"
- t.datetime "updated_at"
- end
- create_table "servicioxplans", :id => false, :force => true do |t|
- t.integer "plan_id", :null => false
- t.integer "servicio_id", :null => false
- end
- create_table "socios", :force => true do |t|
- t.string "socio_nombre"
- t.string "socio_domicilio"
- t.string "socio_tel"
- t.date "socio_fecha_nacimiento"
- t.string "socio_localidad"
- t.integer "familiar_id", :default => 0
- t.integer "plan_id", :limit => 2, :null => false
- t.string "socio_dni", :limit => 8, :null => false
- end
- end
Add Comment
Please, Sign In to add comment