barras_rails 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +22 -0
  3. data/app/assets/images/barras_rails/logo_uff_branco.svg +3 -0
  4. data/app/assets/javascripts/barras_rails/barras_rails.js +352 -0
  5. data/app/assets/stylesheets/barras_rails/barra_de_aplicacoes.css +143 -0
  6. data/app/assets/stylesheets/barras_rails/barra_do_governo.css +140 -0
  7. data/app/helpers/barras_rails/application_helper.rb +106 -0
  8. data/app/models/barra_aplicacoes.rb +31 -0
  9. data/app/models/url_api_nao_definida_error.rb +6 -0
  10. data/app/views/layouts/application.html.erb +14 -0
  11. data/app/views/layouts/barras_rails/_barra_aplicacoes.html.erb +27 -0
  12. data/app/views/layouts/barras_rails/_barra_governo.html.erb +18 -0
  13. data/config/routes.rb +2 -0
  14. data/lib/barras_rails/configuracao.rb +16 -0
  15. data/lib/barras_rails/engine.rb +12 -0
  16. data/lib/barras_rails/utilidades.rb +41 -0
  17. data/lib/barras_rails/version.rb +4 -0
  18. data/lib/barras_rails.rb +19 -0
  19. data/lib/generators/barras_rails/install_generator.rb +56 -0
  20. data/lib/generators/barras_rails/templates/barras_rails.rb +52 -0
  21. data/lib/generators/barras_rails/templates/logo_uff_branco.svg +3 -0
  22. data/lib/tasks/barras_tasks.rake +4 -0
  23. data/spec/dummy/README.rdoc +28 -0
  24. data/spec/dummy/Rakefile +6 -0
  25. data/spec/dummy/app/assets/javascripts/application.js +2 -0
  26. data/spec/dummy/app/assets/javascripts/jquery-2.1.4.min.js +4 -0
  27. data/spec/dummy/app/assets/stylesheets/application.css +5 -0
  28. data/spec/dummy/app/assets/stylesheets/reset.css +423 -0
  29. data/spec/dummy/app/controllers/application_controller.rb +11 -0
  30. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  31. data/spec/dummy/app/views/application/index.html.erb +1 -0
  32. data/spec/dummy/app/views/layouts/application.html.erb +19 -0
  33. data/spec/dummy/bin/bundle +3 -0
  34. data/spec/dummy/bin/rails +4 -0
  35. data/spec/dummy/bin/rake +4 -0
  36. data/spec/dummy/config/application.rb +34 -0
  37. data/spec/dummy/config/boot.rb +5 -0
  38. data/spec/dummy/config/database.yml +25 -0
  39. data/spec/dummy/config/environment.rb +5 -0
  40. data/spec/dummy/config/environments/development.rb +37 -0
  41. data/spec/dummy/config/environments/production.rb +78 -0
  42. data/spec/dummy/config/environments/test.rb +39 -0
  43. data/spec/dummy/config/initializers/assets.rb +8 -0
  44. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  45. data/spec/dummy/config/initializers/barras_uff.rb +31 -0
  46. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  47. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/spec/dummy/config/initializers/inflections.rb +16 -0
  49. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  50. data/spec/dummy/config/initializers/session_store.rb +3 -0
  51. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  52. data/spec/dummy/config/locales/en.yml +23 -0
  53. data/spec/dummy/config/routes.rb +5 -0
  54. data/spec/dummy/config/secrets.yml +22 -0
  55. data/spec/dummy/config.ru +4 -0
  56. data/spec/dummy/db/development.sqlite3 +0 -0
  57. data/spec/dummy/db/schema.rb +2596 -0
  58. data/spec/dummy/db/test.sqlite3 +0 -0
  59. data/spec/dummy/public/404.html +67 -0
  60. data/spec/dummy/public/422.html +67 -0
  61. data/spec/dummy/public/500.html +66 -0
  62. data/spec/dummy/public/favicon.ico +0 -0
  63. data/spec/helpers/application_helper_spec.rb +178 -0
  64. data/spec/lib/configuracao_spec.rb +21 -0
  65. data/spec/models/barra_aplicacoes_spec.rb +0 -0
  66. data/spec/rails_helper.rb +55 -0
  67. data/spec/spec_helper.rb +31 -0
  68. metadata +281 -0
@@ -0,0 +1,2596 @@
1
+ # -*- encoding : utf-8 -*-
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20110610134436) do
15
+
16
+ # create_table "academico_alunoturma2", :primary_key => "idalunoturma", :force => true do |t|
17
+ # t.timestamp "dataalunoturma", :limit => 6
18
+ # t.integer "status", :limit => 10, :precision => 10, :scale => 0
19
+ # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
20
+ # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
21
+ # t.integer "pontuacao", :limit => 19, :precision => 19, :scale => 0
22
+ # t.boolean "obrigatoria", :precision => 1, :scale => 0
23
+ # t.string "motivo", :limit => 400
24
+ # t.string "motivo", :limit => 400
25
+ # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0
26
+ # end
27
+ #
28
+ # add_index "academico_alunoturma2", ["idaluno", "idturma"], :name => "academico_alunoturma_uk_at2", :unique => true
29
+ #
30
+ # create_table "academico_alunoturma20091", :primary_key => "idalunoturma", :force => true do |t|
31
+ # t.timestamp "datacandidatura", :limit => 6
32
+ # t.datetime "dataconclusao"
33
+ # t.datetime "datainscricao"
34
+ # t.datetime "datatrancamento"
35
+ # t.integer "status", :limit => 10, :precision => 10, :scale => 0
36
+ # t.integer "aluno_ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
37
+ # t.integer "turma_idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
38
+ # t.integer "pontuacao", :limit => 19, :precision => 19, :scale => 0
39
+ # t.timestamp "datacancelamento", :limit => 6
40
+ # t.boolean "obrigatoria", :precision => 1, :scale => 0
41
+ # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0
42
+ # t.timestamp "datacandidaturaonline", :limit => 6
43
+ # t.timestamp "datacandidaturapresencial", :limit => 6
44
+ # t.timestamp "datacancelamentoonline", :limit => 6
45
+ # t.timestamp "datacancelamentopresencial", :limit => 6
46
+ # t.datetime "datainscricaoonline"
47
+ # t.datetime "datainscricaopresencial"
48
+ # t.datetime "datainscricaoajuste"
49
+ # t.datetime "dataexcedenteonline"
50
+ # t.datetime "dataexcedentepresencial"
51
+ # end
52
+ #
53
+ # add_index "academico_alunoturma20091", ["status", "aluno_ididentificador"], :name => "acd_alunoturma_aluno_status"
54
+ #
55
+
56
+ # create_table "controle", :primary_key => "idcontrole", :force => true do |t|
57
+ # t.integer "codigo", :limit => 19, :null => false
58
+ # t.string "nome", :limit => 50
59
+ # t.string "valor", :limit => 10
60
+ # t.string "descricao", :limit => 70
61
+ # end
62
+ #
63
+ # create_table "atividadecomplementar", :primary_key => "idatividadecomplementar", :force => true do |t|
64
+ # t.integer "idaluno"
65
+ # t.integer "iddisciplina"
66
+ # t.integer "cargahoraria"
67
+ # t.string "descricao"
68
+ # t.integer "anosemestre"
69
+ # end
70
+ #
71
+ # create_table "acompalunoturma", :primary_key => "idacompalunoturma", :force => true do |t|
72
+ # t.integer "idalunoturma", :limit => 19, :precision => 19, :scale => 0, :null => false
73
+ # t.timestamp "dataacompanhamento", :limit => 6, :null => false
74
+ # t.decimal "status", :null => false
75
+ # t.integer "pontuacaoantiga", :limit => 19, :precision => 19, :scale => 0
76
+ # t.string "motivo", :limit => 400
77
+ # end
78
+ #
79
+ # create_table "acompanhamentoaluno", :primary_key => "idacompanhamentoaluno", :force => true do |t|
80
+ # t.float "coeficienterendimento", :limit => 26, :null => false
81
+ # t.integer "cargahorariarequerida", :limit => 10, :precision => 10, :scale => 0, :null => false
82
+ # t.integer "cargahorariaobtida", :limit => 10, :precision => 10, :scale => 0, :null => false
83
+ # t.integer "creditosrequeridos", :limit => 10, :precision => 10, :scale => 0, :null => false
84
+ # t.integer "creditosobtidos", :limit => 10, :precision => 10, :scale => 0, :null => false
85
+ # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
86
+ # t.integer "mes", :limit => 2, :precision => 2, :scale => 0
87
+ # t.boolean "desvinculado", :precision => 1, :scale => 0
88
+ # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0, :null => false
89
+ # t.integer "idsituacao", :limit => 19, :precision => 19, :scale => 0
90
+ # t.integer "idstatus", :limit => 19, :precision => 19, :scale => 0, :null => false
91
+ # t.integer "idturno", :limit => 19, :precision => 19, :scale => 0, :null => false
92
+ # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
93
+ # t.integer "idcurriculo1", :limit => 19, :precision => 19, :scale => 0
94
+ # t.integer "idcurriculo2", :limit => 19, :precision => 19, :scale => 0
95
+ # t.integer "idcurriculo3", :limit => 19, :precision => 19, :scale => 0
96
+ # end
97
+ #
98
+ # add_index "acompanhamentoaluno", ["idaluno", "anosemestre"], :name => "acompaluno_aluno_anosem_ind"
99
+ # add_index "acompanhamentoaluno", ["idaluno"], :name => "acompaluno_aluno_index"
100
+ #
101
+ # # Could not dump table "acompdesvinccompermanencia" because of following StandardError
102
+ # # Unknown type 'LONG' for column 'dados'
103
+ #
104
+ # create_table "administrador_controle", :primary_key => "ididentificador", :force => true do |t|
105
+ # t.datetime "datainclusao"
106
+ # t.datetime "dataexclusao"
107
+ # end
108
+ #
109
+ # create_table "administrador", :primary_key => "ididentificador", :force => true do |t|
110
+ # t.datetime "dataalocacao"
111
+ # t.datetime "datatermino"
112
+ # t.string "status"
113
+ # end
114
+ #
115
+ # create_table "aluno", :primary_key => "ididentificador", :force => true do |t|
116
+ # t.string "anoconclusaoensinomedio", :limit => 4
117
+ # t.integer "anodesvinculacao", :limit => 10, :precision => 10, :scale => 0
118
+ # t.integer "anoexamenacional", :limit => 10, :precision => 10, :scale => 0
119
+ # t.integer "anoingresso", :limit => 10, :precision => 10, :scale => 0, :null => false
120
+ # t.integer "anotrancamento", :limit => 10, :precision => 10, :scale => 0
121
+ # t.string "bonuscoseac"
122
+ # t.integer "cargahorariacursada", :limit => 10, :precision => 10, :scale => 0, :null => false
123
+ # t.integer "codigointerno", :limit => 19, :precision => 19, :scale => 0
124
+ # t.float "coeficienterendimento", :null => false
125
+ # t.datetime "datadesvinculacao"
126
+ # t.datetime "datamatricula"
127
+ # t.datetime "datarealizacaoenade"
128
+ # t.boolean "fezprovao", :precision => 1, :scale => 0
129
+ # t.string "inscricaocoseac"
130
+ # t.string "matricula", :limit => 8, :null => false
131
+ # t.boolean "pediupermanenciavinculo", :precision => 1, :scale => 0
132
+ # t.integer "qtdsemestrestrancados", :limit => 10, :precision => 10, :scale => 0, :null => false
133
+ # t.string "reservavagascoseac"
134
+ # t.integer "semestredesvinculacao", :limit => 10, :precision => 10, :scale => 0
135
+ # t.integer "semestreexamenacional", :limit => 10, :precision => 10, :scale => 0
136
+ # t.integer "semestreingresso", :limit => 10, :precision => 10, :scale => 0, :null => false
137
+ # t.integer "semestretrancamento", :limit => 10, :precision => 10, :scale => 0
138
+ # t.integer "totalcreditos", :limit => 10, :precision => 10, :scale => 0, :null => false
139
+ # t.integer "idstatusaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
140
+ # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
141
+ # t.integer "idsituacaoaluno", :limit => 19, :precision => 19, :scale => 0
142
+ # t.integer "idturnovestibular", :limit => 19, :precision => 19, :scale => 0, :null => false
143
+ # t.integer "idformaingresso", :limit => 19, :precision => 19, :scale => 0, :null => false
144
+ # t.boolean "podefazerinscricaoonline", :precision => 1, :scale => 0, :default => false, :null => false
145
+ # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0
146
+ # t.integer "sequencialmatricula", :limit => 10, :precision => 10, :scale => 0, :null => false
147
+ # t.integer "idinstituicaoorigem", :limit => 19, :precision => 19, :scale => 0
148
+ # t.string "cursoorigem", :limit => 100
149
+ # t.integer "idturnocorrente", :limit => 19, :precision => 19, :scale => 0
150
+ # t.boolean "reprocessado", :precision => 1, :scale => 0, :default => false, :null => false
151
+ # t.boolean "geraracompanhamento", :precision => 1, :scale => 0, :default => false, :null => false
152
+ # t.integer "versaocandidatura", :limit => 19, :precision => 19, :scale => 0
153
+ # t.datetime "datainclusaoiduff"
154
+ # t.integer "ididentificadordonoinclusao", :limit => 19, :precision => 19, :scale => 0
155
+ # t.datetime "datavalidadecarteirinha"
156
+ # t.integer "situacaoenade", :limit => 2, :precision => 2, :scale => 0
157
+ # t.string "motivoenade"
158
+ # t.integer "old_idturnocorrente", :limit => 19, :precision => 19, :scale => 0
159
+ # t.integer "anoformadocenso", :limit => 10, :precision => 10, :scale => 0
160
+ # t.integer "idpolo", :limit => 19, :precision => 19, :scale => 0
161
+ # t.boolean "validadopelodae", :precision => 1, :scale => 0
162
+ # t.boolean "historicoescolarmedio", :precision => 1, :scale => 0
163
+ # t.boolean "certificadoconclusaomedio", :precision => 1, :scale => 0
164
+ # t.string "oficioentrada"
165
+ # t.date "dataprocessoentrada"
166
+ # end
167
+ #
168
+ # add_index "aluno", ["matricula"], :name => "sys_c0098000", :unique => true
169
+ #
170
+ # create_table "alunocurriculo", :primary_key => "idalunocurriculo", :force => true do |t|
171
+ # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
172
+ # t.integer "idcurriculo", :limit => 19, :precision => 19, :scale => 0, :null => false
173
+ # t.boolean "vinculado", :precision => 1, :scale => 0
174
+ # t.datetime "datavinculacao"
175
+ # t.datetime "datadesvinculacao"
176
+ # t.integer "chobrigatoriacursada", :limit => 10, :precision => 10, :scale => 0
177
+ # t.integer "cheletivacursada", :limit => 10, :precision => 10, :scale => 0
178
+ # t.integer "choptativacursada", :limit => 10, :precision => 10, :scale => 0
179
+ # t.integer "choptativaporescolhacursada", :limit => 10, :precision => 10, :scale => 0
180
+ # t.integer "choptativaporenfasecursada", :limit => 10, :precision => 10, :scale => 0
181
+ # t.integer "chobrigatoriaporescolhacursada", :limit => 10, :precision => 10, :scale => 0
182
+ # t.integer "chatividadecurricularcursada", :limit => 10, :precision => 10, :scale => 0
183
+ # t.integer "motivodesvinculacao", :limit => 2, :precision => 2, :scale => 0
184
+ # t.boolean "integralizado", :precision => 1, :scale => 0
185
+ # t.integer "anosemestreintegralizado", :limit => 5, :precision => 5, :scale => 0
186
+ # t.string "motivointegralizacao"
187
+ # end
188
+ #
189
+ # add_index "alunocurriculo", ["idaluno", "idcurriculo"], :name => "alunocurriculo_uk", :unique => true
190
+ # add_index "alunocurriculo", ["idaluno"], :name => "idx_alunocurriculo"
191
+ # ##
192
+ # ## create_table "alunocurriculointegralizado", :primary_key => "idalunocurriculointegralizado", :force => true do |t|
193
+ # ## t.integer "idalunocurriculo", :limit => 19, :precision => 19, :scale => 0, :null => false
194
+ # ## t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
195
+ # ## end
196
+ # #
197
+ # # create_table "alunorematriculado", :id => false, :force => true do |t|
198
+ # # t.integer "idalunorematriculado", :limit => 19, :precision => 19, :scale => 0
199
+ # # t.integer "idalunonovo", :limit => 19, :precision => 19, :scale => 0
200
+ # # t.integer "idstatusalunocancelado", :limit => 19, :precision => 19, :scale => 0
201
+ # # t.integer "idalunocancelado", :limit => 19, :precision => 19, :scale => 0
202
+ # # end
203
+ # #
204
+ # # create_table "alunorevinculado", :primary_key => "idaluno", :force => true do |t|
205
+ # # t.integer "idalunoantigo", :limit => 19, :precision => 19, :scale => 0, :null => false
206
+ # # t.string "tiporevinculacao", :limit => 30, :null => false
207
+ # # end
208
+ # #
209
+ # # create_table "alunotransfint", :primary_key => "idaluno", :force => true do |t|
210
+ # # t.integer "alunocancelado", :limit => 19, :precision => 19, :scale => 0, :null => false
211
+ # # t.datetime "datatransferencia"
212
+ # # end
213
+ # #
214
+ # create_table "alunoturma", :primary_key => "idalunoturma", :force => true do |t|
215
+ # t.timestamp "dataalunoturma", :limit => 6
216
+ # t.integer "status", :limit => 10, :precision => 10, :scale => 0
217
+ # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
218
+ # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
219
+ # t.integer "pontuacao", :limit => 19, :precision => 19, :scale => 0
220
+ # t.boolean "obrigatoria", :precision => 1, :scale => 0
221
+ # t.string "motivo", :limit => 400
222
+ # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0
223
+ # t.integer "idplanoinscricao", :limit => 19, :precision => 19, :scale => 0
224
+ # end
225
+ #
226
+ # add_index "alunoturma", ["idaluno", "idturma"], :name => "academico_alunoturma_uk_at", :unique => true
227
+ # add_index "alunoturma", ["idturma", "pontuacao"], :name => "indice_turma_pont"
228
+ # #
229
+ # # create_table "alunoturmapossivel", :primary_key => "idalunoturmapossivel", :force => true do |t|
230
+ # # t.integer "aluno", :limit => 19, :precision => 19, :scale => 0
231
+ # # t.integer "turma", :limit => 19, :precision => 19, :scale => 0
232
+ # # t.boolean "obrigatoria", :precision => 1, :scale => 0
233
+ # # end
234
+ # #
235
+ # # create_table "at_testecarga_at", :id => false, :force => true do |t|
236
+ # # t.integer "idalunoturma", :limit => 19, :precision => 19, :scale => 0, :null => false
237
+ # # t.timestamp "dataalunoturma", :limit => 6
238
+ # # t.integer "status", :limit => 10, :precision => 10, :scale => 0
239
+ # # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
240
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
241
+ # # t.integer "pontuacao", :limit => 19, :precision => 19, :scale => 0
242
+ # # t.boolean "obrigatoria", :precision => 1, :scale => 0
243
+ # # t.string "motivo", :limit => 400
244
+ # # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0
245
+ # # t.integer "idplanoinscricao", :limit => 19, :precision => 19, :scale => 0
246
+ # # end
247
+ # #
248
+ # # create_table "autoavaliacaoaluno", :primary_key => "idautoavaliacaoaluno", :force => true do |t|
249
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
250
+ # # t.boolean "resposta1", :precision => 1, :scale => 0, :null => false
251
+ # # t.boolean "resposta2", :precision => 1, :scale => 0, :null => false
252
+ # # t.boolean "resposta3", :precision => 1, :scale => 0, :null => false
253
+ # # t.boolean "resposta4", :precision => 1, :scale => 0, :null => false
254
+ # # t.boolean "resposta5", :precision => 1, :scale => 0, :null => false
255
+ # # t.boolean "resposta6", :precision => 1, :scale => 0, :null => false
256
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
257
+ # # end
258
+ # #
259
+ # # create_table "autoavaliacaoprofessor", :primary_key => "idautoavaliacaoprofessor", :force => true do |t|
260
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
261
+ # # t.boolean "resposta1", :precision => 1, :scale => 0, :null => false
262
+ # # t.boolean "resposta2", :precision => 1, :scale => 0, :null => false
263
+ # # t.boolean "resposta3", :precision => 1, :scale => 0, :null => false
264
+ # # t.boolean "resposta4", :precision => 1, :scale => 0, :null => false
265
+ # # t.boolean "resposta5", :precision => 1, :scale => 0, :null => false
266
+ # # t.boolean "resposta6", :precision => 1, :scale => 0, :null => false
267
+ # # t.boolean "resposta7", :precision => 1, :scale => 0, :null => false
268
+ # # t.boolean "resposta8", :precision => 1, :scale => 0, :null => false
269
+ # # t.boolean "resposta9", :precision => 1, :scale => 0, :null => false
270
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
271
+ # # end
272
+ # #
273
+ # # create_table "aux_carga_boletim_siad", :id => false, :force => true do |t|
274
+ # # t.integer "codigograu", :limit => 19, :precision => 19, :scale => 0, :null => false
275
+ # # t.integer "codigolocalidade", :limit => 19, :precision => 19, :scale => 0, :null => false
276
+ # # t.integer "ano", :limit => 10, :precision => 10, :scale => 0, :null => false
277
+ # # t.integer "sequencial", :limit => 10, :precision => 10, :scale => 0, :null => false
278
+ # # t.integer "codigocurso", :limit => 19, :precision => 19, :scale => 0, :null => false
279
+ # # t.integer "anoingresso", :limit => 10, :precision => 10, :scale => 0, :null => false
280
+ # # t.integer "codigoingresso", :limit => 19, :precision => 19, :scale => 0, :null => false
281
+ # # t.integer "sequencialmatricula", :limit => 10, :precision => 10, :scale => 0, :null => false
282
+ # # t.string "codigodisciplina", :null => false
283
+ # # t.string "codigoturma"
284
+ # # t.float "nota", :limit => 26
285
+ # # t.float "vs", :limit => 26
286
+ # # t.boolean "fezvs", :precision => 1, :scale => 0
287
+ # # t.boolean "frequenciainsuficiente", :precision => 1, :scale => 0
288
+ # # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0
289
+ # # t.integer "status", :limit => 10, :precision => 10, :scale => 0
290
+ # # t.string "matricula", :limit => 8, :null => false
291
+ # # end
292
+ # #
293
+ # # create_table "aux_historicosiad", :id => false, :force => true do |t|
294
+ # # t.integer "codgrau", :limit => 2, :precision => 2, :scale => 0, :null => false
295
+ # # t.integer "codcurso", :limit => 3, :precision => 3, :scale => 0, :null => false
296
+ # # t.integer "anomat", :limit => 4, :precision => 4, :scale => 0, :null => false
297
+ # # t.boolean "codingresso", :precision => 1, :scale => 0, :null => false
298
+ # # t.integer "ordemmat", :limit => 3, :precision => 3, :scale => 0, :null => false
299
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
300
+ # # t.integer "codidentificador", :limit => 7, :precision => 7, :scale => 0, :null => false
301
+ # # t.string "coddisciplina", :limit => 15
302
+ # # t.string "codturma", :limit => 2
303
+ # # t.integer "numordem", :limit => 3, :precision => 3, :scale => 0
304
+ # # t.string "nota", :limit => 10
305
+ # # t.string "notavs", :limit => 10
306
+ # # t.string "flagvs", :limit => 20
307
+ # # t.string "frequencia", :limit => 1
308
+ # # t.integer "numhorasdisc", :limit => 4, :precision => 4, :scale => 0
309
+ # # t.string "codsitdisciplina", :limit => 1
310
+ # # t.string "matricula", :limit => 8, :null => false
311
+ # # t.integer "idhistoricosiadauxiliar", :limit => 19, :precision => 19, :scale => 0
312
+ # # t.boolean "criadonosiad", :precision => 1, :scale => 0
313
+ # # t.boolean "deveatualizar", :precision => 1, :scale => 0
314
+ # # end
315
+ # #
316
+ #
317
+ # create_table "acompanhamento", :primary_key => "idsiadacompanhamento", :force => true do |t|
318
+ # t.integer "codgrau", :limit => 2, :precision => 2, :scale => 0, :null => false
319
+ # t.integer "codcurso", :limit => 3, :precision => 3, :scale => 0, :null => false
320
+ # t.integer "anomat", :limit => 4, :precision => 4, :scale => 0, :null => false
321
+ # t.boolean "codingresso", :precision => 1, :scale => 0, :null => false
322
+ # t.integer "ordemmat", :limit => 3, :precision => 3, :scale => 0, :null => false
323
+ # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
324
+ # t.integer "codsituacao", :limit => 2, :precision => 2, :scale => 0, :null => false
325
+ # t.integer "coddelecao", :limit => 2, :precision => 2, :scale => 0, :null => false
326
+ # t.decimal "coefrendimento", :precision => 5, :scale => 2, :null => false
327
+ # t.integer "numcredreq", :limit => 3, :precision => 3, :scale => 0, :null => false
328
+ # t.integer "numhorasreq", :limit => 4, :precision => 4, :scale => 0, :null => false
329
+ # t.integer "numcredobtidos", :limit => 3, :precision => 3, :scale => 0, :null => false
330
+ # t.integer "totcargahoraria", :limit => 4, :precision => 4, :scale => 0, :null => false
331
+ # t.string "mes", :limit => 2
332
+ # t.string "inddesv", :limit => 1, :null => false
333
+ # t.string "coddesdcurso1", :limit => 3
334
+ # t.string "coddesdcurso2", :limit => 3
335
+ # t.string "coddesdcurso3", :limit => 3
336
+ # t.integer "codlocalidade", :limit => 2, :precision => 2, :scale => 0, :null => false
337
+ # t.integer "indturno", :limit => 2, :precision => 2, :scale => 0, :null => false
338
+ # t.integer "codturno", :limit => 2, :precision => 2, :scale => 0, :null => false
339
+ # t.string "coddesdcurric1", :limit => 3
340
+ # t.string "codseqpleno1", :limit => 3
341
+ # t.datetime "datacurrvigente1"
342
+ # t.string "coddesdcurric2", :limit => 3
343
+ # t.string "codseqpleno2", :limit => 3
344
+ # t.datetime "datacurrvigente2"
345
+ # t.string "coddesdcurric3", :limit => 3
346
+ # t.string "codseqpleno3", :limit => 3
347
+ # t.datetime "datacurrvigente3"
348
+ # t.string "matricula", :limit => 8, :null => false
349
+ # t.integer "numsemtranctotal", :limit => 3, :precision => 3, :scale => 0
350
+ # end
351
+ #
352
+ #
353
+ #
354
+ # # create_table "aux_siad_acompanhamento", :primary_key => "idsiadacompanhamento", :force => true do |t|
355
+ # # t.integer "codgrau", :limit => 2, :precision => 2, :scale => 0, :null => false
356
+ # # t.integer "codcurso", :limit => 3, :precision => 3, :scale => 0, :null => false
357
+ # # t.integer "anomat", :limit => 4, :precision => 4, :scale => 0, :null => false
358
+ # # t.boolean "codingresso", :precision => 1, :scale => 0, :null => false
359
+ # # t.integer "ordemmat", :limit => 3, :precision => 3, :scale => 0, :null => false
360
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
361
+ # # t.integer "codsituacao", :limit => 2, :precision => 2, :scale => 0, :null => false
362
+ # # t.integer "coddelecao", :limit => 2, :precision => 2, :scale => 0, :null => false
363
+ # # t.decimal "coefrendimento", :precision => 5, :scale => 2, :null => false
364
+ # # t.integer "numcredreq", :limit => 3, :precision => 3, :scale => 0, :null => false
365
+ # # t.integer "numhorasreq", :limit => 4, :precision => 4, :scale => 0, :null => false
366
+ # # t.integer "numcredobtidos", :limit => 3, :precision => 3, :scale => 0, :null => false
367
+ # # t.integer "totcargahoraria", :limit => 4, :precision => 4, :scale => 0, :null => false
368
+ # # t.string "mes", :limit => 2
369
+ # # t.string "inddesv", :limit => 1, :null => false
370
+ # # t.string "coddesdcurso1", :limit => 3
371
+ # # t.string "coddesdcurso2", :limit => 3
372
+ # # t.string "coddesdcurso3", :limit => 3
373
+ # # t.integer "codlocalidade", :limit => 2, :precision => 2, :scale => 0, :null => false
374
+ # # t.integer "indturno", :limit => 2, :precision => 2, :scale => 0, :null => false
375
+ # # t.integer "codturno", :limit => 2, :precision => 2, :scale => 0, :null => false
376
+ # # t.string "coddesdcurric1", :limit => 3
377
+ # # t.string "codseqpleno1", :limit => 3
378
+ # # t.datetime "datacurrvigente1"
379
+ # # t.string "coddesdcurric2", :limit => 3
380
+ # # t.string "codseqpleno2", :limit => 3
381
+ # # t.datetime "datacurrvigente2"
382
+ # # t.string "coddesdcurric3", :limit => 3
383
+ # # t.string "codseqpleno3", :limit => 3
384
+ # # t.datetime "datacurrvigente3"
385
+ # # t.string "matricula", :limit => 8, :null => false
386
+ # # t.integer "numsemtranctotal", :limit => 3, :precision => 3, :scale => 0
387
+ # # end
388
+ # #
389
+ # # add_index "aux_siad_acompanhamento", ["codgrau", "codcurso", "anomat", "codingresso", "ordemmat", "anosemestre"], :name => "uk_acompanhamento", :unique => true
390
+ # #
391
+ # # create_table "aux_siad_diario", :primary_key => "idsiaddiario", :force => true do |t|
392
+ # # t.integer "codgrau", :limit => 2, :precision => 2, :scale => 0, :null => false
393
+ # # t.integer "codlocalidade", :limit => 2, :precision => 2, :scale => 0, :null => false
394
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
395
+ # # t.integer "anomes", :limit => 6, :precision => 6, :scale => 0, :null => false
396
+ # # t.string "coddisciplina", :limit => 15, :null => false
397
+ # # t.string "codturma", :limit => 2, :null => false
398
+ # # t.integer "numordem", :limit => 3, :precision => 3, :scale => 0, :null => false
399
+ # # t.integer "codcurso", :limit => 3, :precision => 3, :scale => 0
400
+ # # t.integer "anomat", :limit => 4, :precision => 4, :scale => 0
401
+ # # t.boolean "codingresso", :precision => 1, :scale => 0
402
+ # # t.integer "ordemmat", :limit => 3, :precision => 3, :scale => 0
403
+ # # t.string "codsitdisciplina", :limit => 1
404
+ # # t.string "matricula", :limit => 8, :null => false
405
+ # # end
406
+ # #
407
+ # # add_index "aux_siad_diario", ["codgrau", "codlocalidade", "anosemestre", "anomes", "coddisciplina", "codturma", "matricula"], :name => "siaddiario_uk", :unique => true
408
+ # # add_index "aux_siad_diario", ["codgrau", "codlocalidade", "anosemestre", "anomes", "coddisciplina", "codturma", "numordem"], :name => "siaddiario_uk1", :unique => true
409
+ # #
410
+ # # create_table "avaliacaodisciplinaaluno", :primary_key => "idavaliacaodisciplinaaluno", :force => true do |t|
411
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
412
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
413
+ # # t.boolean "resposta1", :precision => 1, :scale => 0
414
+ # # t.boolean "resposta2", :precision => 1, :scale => 0
415
+ # # t.boolean "resposta3", :precision => 1, :scale => 0
416
+ # # t.boolean "resposta4", :precision => 1, :scale => 0
417
+ # # t.boolean "resposta5", :precision => 1, :scale => 0
418
+ # # t.boolean "resposta6", :precision => 1, :scale => 0
419
+ # # t.boolean "resposta7", :precision => 1, :scale => 0
420
+ # # t.boolean "resposta8", :precision => 1, :scale => 0
421
+ # # t.boolean "resposta9", :precision => 1, :scale => 0
422
+ # # t.boolean "resposta10", :precision => 1, :scale => 0
423
+ # # t.boolean "resposta11", :precision => 1, :scale => 0
424
+ # # t.boolean "resposta12", :precision => 1, :scale => 0
425
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
426
+ # # end
427
+ # #
428
+ # # create_table "avaliacaodisciplinaprofessor", :primary_key => "idavaliacaodisciplinaprofessor", :force => true do |t|
429
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
430
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
431
+ # # t.boolean "resposta1", :precision => 1, :scale => 0
432
+ # # t.boolean "resposta2", :precision => 1, :scale => 0
433
+ # # t.boolean "resposta3", :precision => 1, :scale => 0
434
+ # # t.boolean "resposta4", :precision => 1, :scale => 0
435
+ # # t.boolean "resposta5", :precision => 1, :scale => 0
436
+ # # t.boolean "resposta6", :precision => 1, :scale => 0
437
+ # # t.boolean "resposta7", :precision => 1, :scale => 0
438
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
439
+ # # end
440
+ # #
441
+ # # create_table "avaliacaoinstaluno", :primary_key => "idavaliacaoinstaluno", :force => true do |t|
442
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
443
+ # # t.boolean "resposta1", :precision => 1, :scale => 0
444
+ # # t.boolean "resposta2", :precision => 1, :scale => 0
445
+ # # t.boolean "resposta3", :precision => 1, :scale => 0
446
+ # # t.boolean "resposta4", :precision => 1, :scale => 0
447
+ # # t.boolean "resposta5", :precision => 1, :scale => 0
448
+ # # t.boolean "resposta6", :precision => 1, :scale => 0
449
+ # # t.boolean "resposta7", :precision => 1, :scale => 0
450
+ # # t.boolean "resposta8", :precision => 1, :scale => 0
451
+ # # t.boolean "resposta9", :precision => 1, :scale => 0
452
+ # # t.boolean "resposta10", :precision => 1, :scale => 0
453
+ # # t.boolean "resposta11", :precision => 1, :scale => 0
454
+ # # t.boolean "resposta12", :precision => 1, :scale => 0
455
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
456
+ # # end
457
+ # #
458
+ # # create_table "avaliacaoinstprofessor", :primary_key => "idavaliacaoinstprofessor", :force => true do |t|
459
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
460
+ # # t.boolean "resposta1", :precision => 1, :scale => 0
461
+ # # t.boolean "resposta2", :precision => 1, :scale => 0
462
+ # # t.boolean "resposta3", :precision => 1, :scale => 0
463
+ # # t.boolean "resposta4", :precision => 1, :scale => 0
464
+ # # t.boolean "resposta5", :precision => 1, :scale => 0
465
+ # # t.boolean "resposta6", :precision => 1, :scale => 0
466
+ # # t.boolean "resposta7", :precision => 1, :scale => 0
467
+ # # t.boolean "resposta8", :precision => 1, :scale => 0
468
+ # # t.boolean "resposta9", :precision => 1, :scale => 0
469
+ # # t.boolean "resposta10", :precision => 1, :scale => 0
470
+ # # t.boolean "resposta11", :precision => 1, :scale => 0
471
+ # # t.boolean "resposta12", :precision => 1, :scale => 0
472
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
473
+ # # end
474
+ # #
475
+ # # # Could not dump table "avisocurso" because of following StandardError
476
+ # # # Unknown type 'LONG' for column 'mensagem'
477
+ # #
478
+ # # create_table "bk_aux_historicosiad", :id => false, :force => true do |t|
479
+ # # t.integer "codgrau", :limit => 2, :precision => 2, :scale => 0, :null => false
480
+ # # t.integer "codcurso", :limit => 3, :precision => 3, :scale => 0, :null => false
481
+ # # t.integer "anomat", :limit => 4, :precision => 4, :scale => 0, :null => false
482
+ # # t.boolean "codingresso", :precision => 1, :scale => 0, :null => false
483
+ # # t.integer "ordemmat", :limit => 3, :precision => 3, :scale => 0, :null => false
484
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
485
+ # # t.integer "codidentificador", :limit => 7, :precision => 7, :scale => 0, :null => false
486
+ # # t.string "coddisciplina", :limit => 15
487
+ # # t.string "codturma", :limit => 2
488
+ # # t.integer "numordem", :limit => 3, :precision => 3, :scale => 0
489
+ # # t.string "nota", :limit => 10
490
+ # # t.string "notavs", :limit => 10
491
+ # # t.string "flagvs", :limit => 20
492
+ # # t.string "frequencia", :limit => 1
493
+ # # t.integer "numhorasdisc", :limit => 4, :precision => 4, :scale => 0
494
+ # # t.string "codsitdisciplina", :limit => 1
495
+ # # t.string "matricula", :limit => 8, :null => false
496
+ # # t.integer "idhistoricosiadauxiliar", :limit => 19, :precision => 19, :scale => 0
497
+ # # t.boolean "criadonosiad", :precision => 1, :scale => 0
498
+ # # t.boolean "deveatualizar", :precision => 1, :scale => 0
499
+ # # end
500
+ # #
501
+ # # create_table "bkp_20102_io_proc", :id => false, :force => true do |t|
502
+ # # t.integer "idalunoturma", :limit => 19, :precision => 19, :scale => 0, :null => false
503
+ # # t.timestamp "dataalunoturma", :limit => 6
504
+ # # t.integer "status", :limit => 10, :precision => 10, :scale => 0
505
+ # # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
506
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
507
+ # # t.integer "pontuacao", :limit => 19, :precision => 19, :scale => 0
508
+ # # t.boolean "obrigatoria", :precision => 1, :scale => 0
509
+ # # t.string "motivo", :limit => 400
510
+ # # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0
511
+ # # t.integer "idplanoinscricao", :limit => 19, :precision => 19, :scale => 0
512
+ # # end
513
+ # #
514
+ # # create_table "bkp_2011fev15_alunoturma", :id => false, :force => true do |t|
515
+ # # t.integer "idalunoturma", :limit => 19, :precision => 19, :scale => 0, :null => false
516
+ # # t.timestamp "dataalunoturma", :limit => 6
517
+ # # t.integer "status", :limit => 10, :precision => 10, :scale => 0
518
+ # # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
519
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
520
+ # # t.integer "pontuacao", :limit => 19, :precision => 19, :scale => 0
521
+ # # t.boolean "obrigatoria", :precision => 1, :scale => 0
522
+ # # t.string "motivo", :limit => 400
523
+ # # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0
524
+ # # t.integer "idplanoinscricao", :limit => 19, :precision => 19, :scale => 0
525
+ # # end
526
+ # #
527
+ # # create_table "bkp_2011fev15_turma", :id => false, :force => true do |t|
528
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
529
+ # # t.string "codigo"
530
+ # # t.integer "numerosemanas", :limit => 10, :precision => 10, :scale => 0
531
+ # # t.integer "semanafim", :limit => 10, :precision => 10, :scale => 0
532
+ # # t.integer "semanainicio", :limit => 10, :precision => 10, :scale => 0
533
+ # # t.integer "status", :limit => 10, :precision => 10, :scale => 0
534
+ # # t.integer "tipo", :limit => 10, :precision => 10, :scale => 0
535
+ # # t.integer "totalcandidatados", :limit => 10, :precision => 10, :scale => 0
536
+ # # t.integer "modulo", :limit => 10, :precision => 10, :scale => 0
537
+ # # t.integer "vagasregular", :limit => 10, :precision => 10, :scale => 0
538
+ # # t.integer "vagasregularutilizadas", :limit => 10, :precision => 10, :scale => 0
539
+ # # t.integer "vagasvestibulando", :limit => 10, :precision => 10, :scale => 0
540
+ # # t.integer "vagasvestibulandoutilizadas", :limit => 10, :precision => 10, :scale => 0
541
+ # # t.integer "idturno", :limit => 19, :precision => 19, :scale => 0
542
+ # # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0, :null => false
543
+ # # t.integer "idturmateorica", :limit => 19, :precision => 19, :scale => 0
544
+ # # t.integer "iddisciplina", :limit => 19, :precision => 19, :scale => 0, :null => false
545
+ # # t.timestamp "dataultimaatualizacao", :limit => 6
546
+ # # t.string "nomeultimaatualizacao"
547
+ # # t.boolean "podelancarnota", :precision => 1, :scale => 0
548
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
549
+ # # t.string "observacao"
550
+ # # end
551
+ # #
552
+ # # create_table "bkp_2011fev15_vagaturmacurso", :id => false, :force => true do |t|
553
+ # # t.integer "idvagaturmacurso", :limit => 19, :precision => 19, :scale => 0, :null => false
554
+ # # t.integer "totalcandidatos", :limit => 10, :precision => 10, :scale => 0
555
+ # # t.integer "vagasregular", :limit => 10, :precision => 10, :scale => 0
556
+ # # t.integer "vagasregularutilizadas", :limit => 10, :precision => 10, :scale => 0
557
+ # # t.integer "vagasvestibulando", :limit => 10, :precision => 10, :scale => 0
558
+ # # t.integer "vagasvestibulandoutilizadas", :limit => 10, :precision => 10, :scale => 0
559
+ # # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
560
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
561
+ # # t.boolean "recebepontuacaoturno", :precision => 1, :scale => 0
562
+ # # t.boolean "ordenacaomanual", :precision => 1, :scale => 0
563
+ # # end
564
+ # #
565
+ # # create_table "bkp_2011mar03_acompaluno", :id => false, :force => true do |t|
566
+ # # t.integer "idacompanhamentoaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
567
+ # # t.float "coeficienterendimento", :limit => 26, :null => false
568
+ # # t.integer "cargahorariarequerida", :limit => 10, :precision => 10, :scale => 0, :null => false
569
+ # # t.integer "cargahorariaobtida", :limit => 10, :precision => 10, :scale => 0, :null => false
570
+ # # t.integer "creditosrequeridos", :limit => 10, :precision => 10, :scale => 0, :null => false
571
+ # # t.integer "creditosobtidos", :limit => 10, :precision => 10, :scale => 0, :null => false
572
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
573
+ # # t.integer "mes", :limit => 2, :precision => 2, :scale => 0
574
+ # # t.boolean "desvinculado", :precision => 1, :scale => 0
575
+ # # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0, :null => false
576
+ # # t.integer "idsituacao", :limit => 19, :precision => 19, :scale => 0
577
+ # # t.integer "idstatus", :limit => 19, :precision => 19, :scale => 0, :null => false
578
+ # # t.integer "idturno", :limit => 19, :precision => 19, :scale => 0, :null => false
579
+ # # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
580
+ # # t.integer "idcurriculo1", :limit => 19, :precision => 19, :scale => 0
581
+ # # t.integer "idcurriculo2", :limit => 19, :precision => 19, :scale => 0
582
+ # # t.integer "idcurriculo3", :limit => 19, :precision => 19, :scale => 0
583
+ # # end
584
+ # #
585
+ # # create_table "bkp_2011mar03_alunoturma", :id => false, :force => true do |t|
586
+ # # t.integer "idalunoturma", :limit => 19, :precision => 19, :scale => 0, :null => false
587
+ # # t.timestamp "dataalunoturma", :limit => 6
588
+ # # t.integer "status", :limit => 10, :precision => 10, :scale => 0
589
+ # # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
590
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
591
+ # # t.integer "pontuacao", :limit => 19, :precision => 19, :scale => 0
592
+ # # t.boolean "obrigatoria", :precision => 1, :scale => 0
593
+ # # t.string "motivo", :limit => 400
594
+ # # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0
595
+ # # t.integer "idplanoinscricao", :limit => 19, :precision => 19, :scale => 0
596
+ # # end
597
+ # #
598
+ # # create_table "bkp_2011mar03_turma", :id => false, :force => true do |t|
599
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
600
+ # # t.string "codigo"
601
+ # # t.integer "numerosemanas", :limit => 10, :precision => 10, :scale => 0
602
+ # # t.integer "semanafim", :limit => 10, :precision => 10, :scale => 0
603
+ # # t.integer "semanainicio", :limit => 10, :precision => 10, :scale => 0
604
+ # # t.integer "status", :limit => 10, :precision => 10, :scale => 0
605
+ # # t.integer "tipo", :limit => 10, :precision => 10, :scale => 0
606
+ # # t.integer "totalcandidatados", :limit => 10, :precision => 10, :scale => 0
607
+ # # t.integer "modulo", :limit => 10, :precision => 10, :scale => 0
608
+ # # t.integer "vagasregular", :limit => 10, :precision => 10, :scale => 0
609
+ # # t.integer "vagasregularutilizadas", :limit => 10, :precision => 10, :scale => 0
610
+ # # t.integer "vagasvestibulando", :limit => 10, :precision => 10, :scale => 0
611
+ # # t.integer "vagasvestibulandoutilizadas", :limit => 10, :precision => 10, :scale => 0
612
+ # # t.integer "idturno", :limit => 19, :precision => 19, :scale => 0
613
+ # # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0, :null => false
614
+ # # t.integer "idturmateorica", :limit => 19, :precision => 19, :scale => 0
615
+ # # t.integer "iddisciplina", :limit => 19, :precision => 19, :scale => 0, :null => false
616
+ # # t.timestamp "dataultimaatualizacao", :limit => 6
617
+ # # t.string "nomeultimaatualizacao"
618
+ # # t.boolean "podelancarnota", :precision => 1, :scale => 0
619
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
620
+ # # t.string "observacao"
621
+ # # end
622
+ # #
623
+ # # create_table "bkp_2011mar03_vagaturmacurso", :id => false, :force => true do |t|
624
+ # # t.integer "idvagaturmacurso", :limit => 19, :precision => 19, :scale => 0, :null => false
625
+ # # t.integer "totalcandidatos", :limit => 10, :precision => 10, :scale => 0
626
+ # # t.integer "vagasregular", :limit => 10, :precision => 10, :scale => 0
627
+ # # t.integer "vagasregularutilizadas", :limit => 10, :precision => 10, :scale => 0
628
+ # # t.integer "vagasvestibulando", :limit => 10, :precision => 10, :scale => 0
629
+ # # t.integer "vagasvestibulandoutilizadas", :limit => 10, :precision => 10, :scale => 0
630
+ # # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
631
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
632
+ # # t.boolean "recebepontuacaoturno", :precision => 1, :scale => 0
633
+ # # t.boolean "ordenacaomanual", :precision => 1, :scale => 0
634
+ # # end
635
+ # #
636
+ # # create_table "bkp_aluno_23_07_2010", :id => false, :force => true do |t|
637
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
638
+ # # t.string "anoconclusaoensinomedio", :limit => 4
639
+ # # t.integer "anodesvinculacao", :limit => 10, :precision => 10, :scale => 0
640
+ # # t.integer "anoexamenacional", :limit => 10, :precision => 10, :scale => 0
641
+ # # t.integer "anoingresso", :limit => 10, :precision => 10, :scale => 0, :null => false
642
+ # # t.integer "anotrancamento", :limit => 10, :precision => 10, :scale => 0
643
+ # # t.string "bonuscoseac"
644
+ # # t.integer "cargahorariacursada", :limit => 10, :precision => 10, :scale => 0, :null => false
645
+ # # t.integer "codigointerno", :limit => 19, :precision => 19, :scale => 0
646
+ # # t.float "coeficienterendimento", :limit => 26, :null => false
647
+ # # t.datetime "datadesvinculacao"
648
+ # # t.datetime "datamatricula"
649
+ # # t.datetime "datarealizacaoenade"
650
+ # # t.boolean "fezprovao", :precision => 1, :scale => 0
651
+ # # t.string "inscricaocoseac"
652
+ # # t.string "matricula", :limit => 8, :null => false
653
+ # # t.boolean "pediupermanenciavinculo", :precision => 1, :scale => 0
654
+ # # t.integer "qtdsemestrestrancados", :limit => 10, :precision => 10, :scale => 0, :null => false
655
+ # # t.string "reservavagascoseac"
656
+ # # t.integer "semestredesvinculacao", :limit => 10, :precision => 10, :scale => 0
657
+ # # t.integer "semestreexamenacional", :limit => 10, :precision => 10, :scale => 0
658
+ # # t.integer "semestreingresso", :limit => 10, :precision => 10, :scale => 0, :null => false
659
+ # # t.integer "semestretrancamento", :limit => 10, :precision => 10, :scale => 0
660
+ # # t.integer "totalcreditos", :limit => 10, :precision => 10, :scale => 0, :null => false
661
+ # # t.integer "idstatusaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
662
+ # # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
663
+ # # t.integer "idsituacaoaluno", :limit => 19, :precision => 19, :scale => 0
664
+ # # t.integer "idturnovestibular", :limit => 19, :precision => 19, :scale => 0, :null => false
665
+ # # t.integer "idformaingresso", :limit => 19, :precision => 19, :scale => 0, :null => false
666
+ # # t.boolean "podefazerinscricaoonline", :precision => 1, :scale => 0, :null => false
667
+ # # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0
668
+ # # t.integer "sequencialmatricula", :limit => 10, :precision => 10, :scale => 0, :null => false
669
+ # # t.integer "idinstituicaoorigem", :limit => 19, :precision => 19, :scale => 0
670
+ # # t.string "cursoorigem", :limit => 100
671
+ # # t.integer "idturnocorrente", :limit => 19, :precision => 19, :scale => 0
672
+ # # t.boolean "reprocessado", :precision => 1, :scale => 0, :null => false
673
+ # # t.boolean "geraracompanhamento", :precision => 1, :scale => 0, :null => false
674
+ # # t.integer "versaocandidatura", :limit => 19, :precision => 19, :scale => 0
675
+ # # t.datetime "datainclusaoiduff"
676
+ # # t.integer "ididentificadordonoinclusao", :limit => 19, :precision => 19, :scale => 0
677
+ # # t.datetime "datavalidadecarteirinha"
678
+ # # t.integer "situacaoenade", :limit => 2, :precision => 2, :scale => 0
679
+ # # t.string "motivoenade"
680
+ # # t.integer "old_idturnocorrente", :limit => 19, :precision => 19, :scale => 0
681
+ # # end
682
+ # #
683
+ # # create_table "bkp_at_ip_20102", :id => false, :force => true do |t|
684
+ # # t.integer "idalunoturma", :limit => 19, :precision => 19, :scale => 0, :null => false
685
+ # # t.timestamp "dataalunoturma", :limit => 6
686
+ # # t.integer "status", :limit => 10, :precision => 10, :scale => 0
687
+ # # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
688
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
689
+ # # t.integer "pontuacao", :limit => 19, :precision => 19, :scale => 0
690
+ # # t.boolean "obrigatoria", :precision => 1, :scale => 0
691
+ # # t.string "motivo", :limit => 400
692
+ # # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0
693
+ # # t.integer "idplanoinscricao", :limit => 19, :precision => 19, :scale => 0
694
+ # # end
695
+ # #
696
+ # # create_table "bkp_avaliacaodisc", :primary_key => "idavaliacaodisc", :force => true do |t|
697
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
698
+ # # t.integer "iddisciplina", :limit => 19, :precision => 19, :scale => 0, :null => false
699
+ # # t.boolean "resposta1", :precision => 1, :scale => 0
700
+ # # t.boolean "resposta2", :precision => 1, :scale => 0
701
+ # # t.boolean "resposta3", :precision => 1, :scale => 0
702
+ # # t.boolean "resposta4", :precision => 1, :scale => 0
703
+ # # t.boolean "resposta5", :precision => 1, :scale => 0
704
+ # # t.boolean "resposta6", :precision => 1, :scale => 0
705
+ # # t.boolean "resposta7", :precision => 1, :scale => 0
706
+ # # t.boolean "resposta8", :precision => 1, :scale => 0
707
+ # # t.boolean "resposta9", :precision => 1, :scale => 0
708
+ # # t.boolean "resposta10", :precision => 1, :scale => 0
709
+ # # t.boolean "resposta11", :precision => 1, :scale => 0
710
+ # # t.boolean "resposta12", :precision => 1, :scale => 0
711
+ # # t.boolean "resposta13", :precision => 1, :scale => 0
712
+ # # t.boolean "resposta14", :precision => 1, :scale => 0
713
+ # # t.boolean "resposta15", :precision => 1, :scale => 0
714
+ # # t.boolean "resposta16", :precision => 1, :scale => 0
715
+ # # t.boolean "resposta17", :precision => 1, :scale => 0
716
+ # # t.boolean "resposta18", :precision => 1, :scale => 0
717
+ # # t.boolean "resposta19", :precision => 1, :scale => 0
718
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
719
+ # # end
720
+ # #
721
+ # # create_table "bkp_avaliacaoinstit", :primary_key => "idavaliacaoinstitucional", :force => true do |t|
722
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
723
+ # # t.boolean "resposta1", :precision => 1, :scale => 0
724
+ # # t.boolean "resposta2", :precision => 1, :scale => 0
725
+ # # t.boolean "resposta3", :precision => 1, :scale => 0
726
+ # # t.boolean "resposta4", :precision => 1, :scale => 0
727
+ # # t.boolean "resposta5", :precision => 1, :scale => 0
728
+ # # t.boolean "resposta6", :precision => 1, :scale => 0
729
+ # # t.boolean "resposta7", :precision => 1, :scale => 0
730
+ # # t.boolean "resposta8", :precision => 1, :scale => 0
731
+ # # t.boolean "resposta9", :precision => 1, :scale => 0
732
+ # # t.boolean "resposta10", :precision => 1, :scale => 0
733
+ # # t.boolean "resposta11", :precision => 1, :scale => 0
734
+ # # t.boolean "resposta12", :precision => 1, :scale => 0
735
+ # # t.boolean "resposta13", :precision => 1, :scale => 0
736
+ # # t.boolean "resposta14", :precision => 1, :scale => 0
737
+ # # t.boolean "resposta15", :precision => 1, :scale => 0
738
+ # # t.boolean "resposta16", :precision => 1, :scale => 0
739
+ # # t.boolean "resposta17", :precision => 1, :scale => 0
740
+ # # t.boolean "resposta18", :precision => 1, :scale => 0
741
+ # # t.boolean "resposta19", :precision => 1, :scale => 0
742
+ # # t.boolean "resposta20", :precision => 1, :scale => 0
743
+ # # t.boolean "resposta21", :precision => 1, :scale => 0
744
+ # # t.boolean "resposta22", :precision => 1, :scale => 0
745
+ # # t.boolean "resposta23", :precision => 1, :scale => 0
746
+ # # t.boolean "resposta24", :precision => 1, :scale => 0
747
+ # # t.boolean "resposta25", :precision => 1, :scale => 0
748
+ # # t.boolean "resposta26", :precision => 1, :scale => 0
749
+ # # t.boolean "resposta27", :precision => 1, :scale => 0
750
+ # # t.boolean "resposta28", :precision => 1, :scale => 0
751
+ # # t.boolean "resposta29", :precision => 1, :scale => 0
752
+ # # t.boolean "resposta30", :precision => 1, :scale => 0
753
+ # # t.boolean "resposta31", :precision => 1, :scale => 0
754
+ # # t.boolean "resposta32", :precision => 1, :scale => 0
755
+ # # t.boolean "resposta33", :precision => 1, :scale => 0
756
+ # # t.boolean "resposta34", :precision => 1, :scale => 0
757
+ # # t.boolean "resposta35", :precision => 1, :scale => 0
758
+ # # t.boolean "resposta36", :precision => 1, :scale => 0
759
+ # # t.boolean "resposta37", :precision => 1, :scale => 0
760
+ # # t.boolean "resposta38", :precision => 1, :scale => 0
761
+ # # t.boolean "resposta39", :precision => 1, :scale => 0
762
+ # # t.boolean "resposta40", :precision => 1, :scale => 0
763
+ # # t.boolean "resposta41", :precision => 1, :scale => 0
764
+ # # t.boolean "resposta42", :precision => 1, :scale => 0
765
+ # # t.boolean "resposta43", :precision => 1, :scale => 0
766
+ # # t.boolean "resposta44", :precision => 1, :scale => 0
767
+ # # t.boolean "resposta45", :precision => 1, :scale => 0
768
+ # # t.boolean "resposta46", :precision => 1, :scale => 0
769
+ # # t.boolean "resposta47", :precision => 1, :scale => 0
770
+ # # t.boolean "resposta48", :precision => 1, :scale => 0
771
+ # # t.boolean "resposta49", :precision => 1, :scale => 0
772
+ # # t.boolean "resposta50", :precision => 1, :scale => 0
773
+ # # t.boolean "resposta51", :precision => 1, :scale => 0
774
+ # # t.boolean "resposta52", :precision => 1, :scale => 0
775
+ # # t.boolean "resposta53", :precision => 1, :scale => 0
776
+ # # t.boolean "resposta54", :precision => 1, :scale => 0
777
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
778
+ # # end
779
+ # #
780
+ # # create_table "bkp_cur_curriculo", :id => false, :force => true do |t|
781
+ # # t.integer "idcurriculo", :limit => 19, :precision => 19, :scale => 0, :null => false
782
+ # # t.integer "anovigencia", :limit => 10, :precision => 10, :scale => 0
783
+ # # t.integer "chinscpermax", :limit => 10, :precision => 10, :scale => 0
784
+ # # t.integer "chinscpermed", :limit => 10, :precision => 10, :scale => 0
785
+ # # t.integer "chinscpermin", :limit => 10, :precision => 10, :scale => 0
786
+ # # t.integer "codigosequencia", :limit => 10, :precision => 10, :scale => 0, :null => false
787
+ # # t.datetime "datacurriculovigente"
788
+ # # t.datetime "datainiciovigencia"
789
+ # # t.integer "duracaomaxima", :limit => 10, :precision => 10, :scale => 0
790
+ # # t.integer "duracaomedia", :limit => 10, :precision => 10, :scale => 0
791
+ # # t.integer "duracaominima", :limit => 10, :precision => 10, :scale => 0
792
+ # # t.string "identificador", :null => false
793
+ # # t.string "numeroboletimservicouff"
794
+ # # t.integer "numcredinscpermax", :limit => 10, :precision => 10, :scale => 0
795
+ # # t.integer "numcredinscpermed", :limit => 10, :precision => 10, :scale => 0
796
+ # # t.integer "numcredinscpermin", :limit => 10, :precision => 10, :scale => 0
797
+ # # t.integer "numerosemestresvigencia", :limit => 10, :precision => 10, :scale => 0
798
+ # # t.string "resolucaocep"
799
+ # # t.integer "semestrevigencia", :limit => 10, :precision => 10, :scale => 0
800
+ # # t.string "status", :limit => 1, :null => false
801
+ # # t.integer "iddesdobramento", :limit => 19, :precision => 19, :scale => 0, :null => false
802
+ # # t.integer "chobrigatoriatotal", :limit => 10, :precision => 10, :scale => 0
803
+ # # t.integer "choptativatotal", :limit => 10, :precision => 10, :scale => 0
804
+ # # t.integer "cheletivatotal", :limit => 10, :precision => 10, :scale => 0
805
+ # # t.integer "choptativaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
806
+ # # t.integer "choptativaporenfasetotal", :limit => 10, :precision => 10, :scale => 0
807
+ # # t.integer "chobrigatoriaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
808
+ # # t.integer "chatividadecomplementartotal", :limit => 10, :precision => 10, :scale => 0
809
+ # # t.integer "credobrigatoriaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
810
+ # # t.integer "credatividadecomplementartotal", :limit => 10, :precision => 10, :scale => 0
811
+ # # t.integer "credoptativaporenfasetotal", :limit => 10, :precision => 10, :scale => 0
812
+ # # t.integer "credoptativaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
813
+ # # t.integer "credeletivatotal", :limit => 10, :precision => 10, :scale => 0
814
+ # # t.integer "credoptativatotal", :limit => 10, :precision => 10, :scale => 0
815
+ # # t.integer "credobrigatoriatotal", :limit => 10, :precision => 10, :scale => 0
816
+ # # t.integer "chobrigatorialivretotal", :limit => 10, :precision => 10, :scale => 0
817
+ # # t.integer "credobrigatorialivretotal", :limit => 10, :precision => 10, :scale => 0
818
+ # # t.integer "idversaocurriculo", :limit => 19, :precision => 19, :scale => 0
819
+ # # end
820
+ # #
821
+ # # create_table "bkp_curriculo_09_09_10", :id => false, :force => true do |t|
822
+ # # t.integer "idcurriculo", :limit => 19, :precision => 19, :scale => 0, :null => false
823
+ # # t.integer "anovigencia", :limit => 10, :precision => 10, :scale => 0
824
+ # # t.integer "chinscpermax", :limit => 10, :precision => 10, :scale => 0
825
+ # # t.integer "chinscpermed", :limit => 10, :precision => 10, :scale => 0
826
+ # # t.integer "chinscpermin", :limit => 10, :precision => 10, :scale => 0
827
+ # # t.integer "codigosequencia", :limit => 10, :precision => 10, :scale => 0, :null => false
828
+ # # t.datetime "datacurriculovigente"
829
+ # # t.datetime "datainiciovigencia"
830
+ # # t.integer "duracaomaxima", :limit => 10, :precision => 10, :scale => 0
831
+ # # t.integer "duracaomedia", :limit => 10, :precision => 10, :scale => 0
832
+ # # t.integer "duracaominima", :limit => 10, :precision => 10, :scale => 0
833
+ # # t.string "identificador", :null => false
834
+ # # t.string "numeroboletimservicouff"
835
+ # # t.integer "numcredinscpermax", :limit => 10, :precision => 10, :scale => 0
836
+ # # t.integer "numcredinscpermed", :limit => 10, :precision => 10, :scale => 0
837
+ # # t.integer "numcredinscpermin", :limit => 10, :precision => 10, :scale => 0
838
+ # # t.integer "numerosemestresvigencia", :limit => 10, :precision => 10, :scale => 0
839
+ # # t.string "resolucaocep"
840
+ # # t.integer "semestrevigencia", :limit => 10, :precision => 10, :scale => 0
841
+ # # t.string "status", :limit => 1, :null => false
842
+ # # t.integer "iddesdobramento", :limit => 19, :precision => 19, :scale => 0, :null => false
843
+ # # t.integer "chobrigatoriatotal", :limit => 10, :precision => 10, :scale => 0
844
+ # # t.integer "choptativatotal", :limit => 10, :precision => 10, :scale => 0
845
+ # # t.integer "cheletivatotal", :limit => 10, :precision => 10, :scale => 0
846
+ # # t.integer "choptativaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
847
+ # # t.integer "choptativaporenfasetotal", :limit => 10, :precision => 10, :scale => 0
848
+ # # t.integer "chobrigatoriaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
849
+ # # t.integer "chatividadecomplementartotal", :limit => 10, :precision => 10, :scale => 0
850
+ # # t.integer "credobrigatoriaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
851
+ # # t.integer "credatividadecomplementartotal", :limit => 10, :precision => 10, :scale => 0
852
+ # # t.integer "credoptativaporenfasetotal", :limit => 10, :precision => 10, :scale => 0
853
+ # # t.integer "credoptativaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
854
+ # # t.integer "credeletivatotal", :limit => 10, :precision => 10, :scale => 0
855
+ # # t.integer "credoptativatotal", :limit => 10, :precision => 10, :scale => 0
856
+ # # t.integer "credobrigatoriatotal", :limit => 10, :precision => 10, :scale => 0
857
+ # # t.integer "chobrigatorialivretotal", :limit => 10, :precision => 10, :scale => 0
858
+ # # t.integer "credobrigatorialivretotal", :limit => 10, :precision => 10, :scale => 0
859
+ # # t.integer "idversaocurriculo", :limit => 19, :precision => 19, :scale => 0
860
+ # # end
861
+ # #
862
+ # # create_table "bkp_disciplina_17_08_10", :id => false, :force => true do |t|
863
+ # # t.integer "iddisciplina", :limit => 19, :precision => 19, :scale => 0, :null => false
864
+ # # t.integer "anovigencia", :limit => 10, :precision => 10, :scale => 0
865
+ # # t.integer "cargahorariaestagio", :limit => 10, :precision => 10, :scale => 0
866
+ # # t.integer "cargahorariapratica", :limit => 10, :precision => 10, :scale => 0
867
+ # # t.integer "cargahorariateorica", :limit => 10, :precision => 10, :scale => 0
868
+ # # t.string "codigo", :null => false
869
+ # # t.integer "creditos", :limit => 10, :precision => 10, :scale => 0
870
+ # # t.timestamp "datacriacao", :limit => 6
871
+ # # t.timestamp "datadesativacao", :limit => 6
872
+ # # t.string "nome", :null => false
873
+ # # t.integer "numerohoras", :limit => 10, :precision => 10, :scale => 0
874
+ # # t.integer "numerosemanas", :limit => 10, :precision => 10, :scale => 0
875
+ # # t.integer "semestrevigencia", :limit => 10, :precision => 10, :scale => 0
876
+ # # t.integer "sequencial", :limit => 10, :precision => 10, :scale => 0, :null => false
877
+ # # t.string "status"
878
+ # # t.string "tipodisciplina"
879
+ # # t.integer "cod_motivodesativacao", :limit => 19, :precision => 19, :scale => 0
880
+ # # t.integer "cod_coordenacao", :limit => 19, :precision => 19, :scale => 0
881
+ # # t.integer "cod_departamento", :limit => 19, :precision => 19, :scale => 0
882
+ # # t.integer "cod_materia", :limit => 19, :precision => 19, :scale => 0
883
+ # # t.decimal "codigoidentificador", :null => false
884
+ # # t.integer "idcaracteristicadisciplina", :limit => 19, :precision => 19, :scale => 0
885
+ # # end
886
+ # #
887
+ # # create_table "bkp_horarioturma_24_07_2010", :id => false, :force => true do |t|
888
+ # # t.integer "idhorarioturma", :limit => 19, :precision => 19, :scale => 0, :null => false
889
+ # # t.integer "diasemana", :limit => 10, :precision => 10, :scale => 0
890
+ # # t.datetime "horafim"
891
+ # # t.datetime "horainicio"
892
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
893
+ # # end
894
+ # #
895
+ # # create_table "bkp_versao_cur_09_09_10", :id => false, :force => true do |t|
896
+ # # t.integer "idversaocurriculo", :limit => 19, :precision => 19, :scale => 0, :null => false
897
+ # # t.integer "sequencial", :limit => 10, :precision => 10, :scale => 0, :null => false
898
+ # # t.datetime "datacriacao"
899
+ # # t.datetime "dataultimamodificacao"
900
+ # # t.boolean "finalizado", :precision => 1, :scale => 0
901
+ # # t.string "observacao"
902
+ # # t.integer "idcurriculo", :limit => 19, :precision => 19, :scale => 0
903
+ # # t.integer "ididentultimaatualizacao", :limit => 19, :precision => 19, :scale => 0
904
+ # # t.integer "ididentcriacao", :limit => 19, :precision => 19, :scale => 0
905
+ # # t.integer "chobrigatoriatotal", :limit => 10, :precision => 10, :scale => 0
906
+ # # t.integer "choptativatotal", :limit => 10, :precision => 10, :scale => 0
907
+ # # t.integer "cheletivatotal", :limit => 10, :precision => 10, :scale => 0
908
+ # # t.integer "choptativaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
909
+ # # t.integer "choptativaporenfasetotal", :limit => 10, :precision => 10, :scale => 0
910
+ # # t.integer "chobrigatoriaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
911
+ # # t.integer "chatividadecomplementartotal", :limit => 10, :precision => 10, :scale => 0
912
+ # # t.integer "chobrigatorialivretotal", :limit => 10, :precision => 10, :scale => 0
913
+ # # t.integer "credobrigatoriatotal", :limit => 10, :precision => 10, :scale => 0
914
+ # # t.integer "credoptativatotal", :limit => 10, :precision => 10, :scale => 0
915
+ # # t.integer "credeletivatotal", :limit => 10, :precision => 10, :scale => 0
916
+ # # t.integer "credoptativaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
917
+ # # t.integer "credoptativaporenfasetotal", :limit => 10, :precision => 10, :scale => 0
918
+ # # t.integer "credobrigatoriaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
919
+ # # t.integer "credatividadecomplementartotal", :limit => 10, :precision => 10, :scale => 0
920
+ # # t.integer "credobrigatorialivretotal", :limit => 10, :precision => 10, :scale => 0
921
+ # # t.integer "duracaomaxima", :limit => 10, :precision => 10, :scale => 0
922
+ # # t.integer "duracaomedia", :limit => 10, :precision => 10, :scale => 0
923
+ # # t.integer "duracaominima", :limit => 10, :precision => 10, :scale => 0
924
+ # # t.integer "chinscpermin", :limit => 10, :precision => 10, :scale => 0
925
+ # # t.integer "chinscpermax", :limit => 10, :precision => 10, :scale => 0
926
+ # # t.integer "numcredinscpermin", :limit => 10, :precision => 10, :scale => 0
927
+ # # t.integer "numcredinscpermax", :limit => 10, :precision => 10, :scale => 0
928
+ # # end
929
+ # #
930
+ # # create_table "bkp_vtc_6_8_2010_ip_20102", :id => false, :force => true do |t|
931
+ # # t.integer "idvagaturmacurso", :limit => 19, :precision => 19, :scale => 0, :null => false
932
+ # # t.integer "totalcandidatos", :limit => 10, :precision => 10, :scale => 0
933
+ # # t.integer "vagasregular", :limit => 10, :precision => 10, :scale => 0
934
+ # # t.integer "vagasregularutilizadas", :limit => 10, :precision => 10, :scale => 0
935
+ # # t.integer "vagasvestibulando", :limit => 10, :precision => 10, :scale => 0
936
+ # # t.integer "vagasvestibulandoutilizadas", :limit => 10, :precision => 10, :scale => 0
937
+ # # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
938
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
939
+ # # t.boolean "recebepontuacaoturno", :precision => 1, :scale => 0
940
+ # # t.boolean "ordenacaomanual", :precision => 1, :scale => 0
941
+ # # end
942
+ # #
943
+ # # create_table "bkp_vtc_ip_20102", :id => false, :force => true do |t|
944
+ # # t.integer "idvagaturmacurso", :limit => 19, :precision => 19, :scale => 0, :null => false
945
+ # # t.integer "totalcandidatos", :limit => 10, :precision => 10, :scale => 0
946
+ # # t.integer "vagasregular", :limit => 10, :precision => 10, :scale => 0
947
+ # # t.integer "vagasregularutilizadas", :limit => 10, :precision => 10, :scale => 0
948
+ # # t.integer "vagasvestibulando", :limit => 10, :precision => 10, :scale => 0
949
+ # # t.integer "vagasvestibulandoutilizadas", :limit => 10, :precision => 10, :scale => 0
950
+ # # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
951
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
952
+ # # t.boolean "recebepontuacaoturno", :precision => 1, :scale => 0
953
+ # # t.boolean "ordenacaomanual", :precision => 1, :scale => 0
954
+ # # end
955
+ # #
956
+ # # create_table "boletim", :primary_key => "idboletim", :force => true do |t|
957
+ # # t.float "nota", :limit => 26
958
+ # # t.float "vs", :limit => 26
959
+ # # t.boolean "fezvs", :precision => 1, :scale => 0
960
+ # # t.boolean "frequenciainsuficiente", :precision => 1, :scale => 0
961
+ # # t.integer "idalunoturma", :limit => 19, :precision => 19, :scale => 0, :null => false
962
+ # # end
963
+ # #
964
+ # # add_index "boletim", ["idalunoturma"], :name => "uk_aluno_turma_boletim", :unique => true
965
+ # #
966
+ # # create_table "bpk_aluno_25_05_10", :id => false, :force => true do |t|
967
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
968
+ # # t.string "anoconclusaoensinomedio", :limit => 4
969
+ # # t.integer "anodesvinculacao", :limit => 10, :precision => 10, :scale => 0
970
+ # # t.integer "anoexamenacional", :limit => 10, :precision => 10, :scale => 0
971
+ # # t.integer "anoingresso", :limit => 10, :precision => 10, :scale => 0, :null => false
972
+ # # t.integer "anotrancamento", :limit => 10, :precision => 10, :scale => 0
973
+ # # t.string "bonuscoseac"
974
+ # # t.integer "cargahorariacursada", :limit => 10, :precision => 10, :scale => 0, :null => false
975
+ # # t.integer "codigointerno", :limit => 19, :precision => 19, :scale => 0
976
+ # # t.float "coeficienterendimento", :limit => 26, :null => false
977
+ # # t.datetime "datadesvinculacao"
978
+ # # t.datetime "datamatricula"
979
+ # # t.datetime "datarealizacaoenade"
980
+ # # t.boolean "fezprovao", :precision => 1, :scale => 0
981
+ # # t.string "inscricaocoseac"
982
+ # # t.string "matricula", :limit => 8, :null => false
983
+ # # t.boolean "pediupermanenciavinculo", :precision => 1, :scale => 0
984
+ # # t.integer "qtdsemestrestrancados", :limit => 10, :precision => 10, :scale => 0, :null => false
985
+ # # t.string "reservavagascoseac"
986
+ # # t.integer "semestredesvinculacao", :limit => 10, :precision => 10, :scale => 0
987
+ # # t.integer "semestreexamenacional", :limit => 10, :precision => 10, :scale => 0
988
+ # # t.integer "semestreingresso", :limit => 10, :precision => 10, :scale => 0, :null => false
989
+ # # t.integer "semestretrancamento", :limit => 10, :precision => 10, :scale => 0
990
+ # # t.integer "totalcreditos", :limit => 10, :precision => 10, :scale => 0, :null => false
991
+ # # t.integer "idstatusaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
992
+ # # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
993
+ # # t.integer "idsituacaoaluno", :limit => 19, :precision => 19, :scale => 0
994
+ # # t.integer "idturnovestibular", :limit => 19, :precision => 19, :scale => 0, :null => false
995
+ # # t.integer "idformaingresso", :limit => 19, :precision => 19, :scale => 0, :null => false
996
+ # # t.boolean "podefazerinscricaoonline", :precision => 1, :scale => 0, :null => false
997
+ # # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0
998
+ # # t.integer "sequencialmatricula", :limit => 10, :precision => 10, :scale => 0, :null => false
999
+ # # t.integer "idinstituicaoorigem", :limit => 19, :precision => 19, :scale => 0
1000
+ # # t.string "cursoorigem", :limit => 100
1001
+ # # t.integer "idturnocorrente", :limit => 19, :precision => 19, :scale => 0
1002
+ # # t.boolean "reprocessado", :precision => 1, :scale => 0, :null => false
1003
+ # # t.boolean "geraracompanhamento", :precision => 1, :scale => 0, :null => false
1004
+ # # t.integer "versaocandidatura", :limit => 19, :precision => 19, :scale => 0
1005
+ # # t.datetime "datainclusaoiduff"
1006
+ # # t.integer "ididentificadordonoinclusao", :limit => 19, :precision => 19, :scale => 0
1007
+ # # t.datetime "datavalidadecarteirinha"
1008
+ # # t.integer "situacaoenade", :limit => 2, :precision => 2, :scale => 0
1009
+ # # end
1010
+ # #
1011
+ # # create_table "caracteristica_disciplina", :primary_key => "idcaracteristicadisciplina", :force => true do |t|
1012
+ # # t.string "descricao", :null => false
1013
+ # # t.string "sigla", :limit => 2, :null => false
1014
+ # # end
1015
+ # #
1016
+ # # add_index "caracteristica_disciplina", ["sigla"], :name => "sys_c0098240", :unique => true
1017
+ #
1018
+ # create_table "controles", :primary_key => "idcontrole", :force => true do |t|
1019
+ # t.integer "codigo", :limit => 19, :null => false
1020
+ # t.string "nome", :limit => 50
1021
+ # t.string "valor", :limit => 10
1022
+ # t.string "descricao", :limit => 70
1023
+ # end
1024
+ #
1025
+ # create_table "coordenacao", :primary_key => "idcoordenacao", :force => true do |t|
1026
+ # t.integer "idorgao", :limit => 19, :precision => 19, :scale => 0, :null => false
1027
+ # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0
1028
+ # end
1029
+ #
1030
+ # add_index "coordenacao", ["idorgao"], :name => "sys_c0098244", :unique => true
1031
+ #
1032
+ # create_table "coordenadorcurso", :primary_key => "ididentificador", :force => true do |t|
1033
+ # t.boolean "ativo", :precision => 1, :scale => 0
1034
+ # t.datetime "dataalocacao"
1035
+ # t.datetime "datatermino"
1036
+ # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0
1037
+ # t.integer "idcoordenacao", :limit => 19, :precision => 19, :scale => 0
1038
+ # t.integer "idfuncionario", :limit => 19, :precision => 19, :scale => 0
1039
+ # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0
1040
+ # end
1041
+ #
1042
+ # create_table "coordidentificador", :primary_key => "idcoordenacaoidentificador", :force => true do |t|
1043
+ # t.integer "idcoordenacao", :limit => 19, :precision => 19, :scale => 0, :null => false
1044
+ # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
1045
+ # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0
1046
+ # end
1047
+ #
1048
+ # add_index "coordidentificador", ["idcoordenacao", "ididentificador"], :name => "sys_c0098251", :unique => true
1049
+ # #
1050
+ # # create_table "copia_teste_vtc", :id => false, :force => true do |t|
1051
+ # # t.integer "idvagaturmacurso", :limit => 19, :precision => 19, :scale => 0, :null => false
1052
+ # # t.integer "totalcandidatos", :limit => 10, :precision => 10, :scale => 0
1053
+ # # t.integer "vagasregular", :limit => 10, :precision => 10, :scale => 0
1054
+ # # t.integer "vagasregularutilizadas", :limit => 10, :precision => 10, :scale => 0
1055
+ # # t.integer "vagasvestibulando", :limit => 10, :precision => 10, :scale => 0
1056
+ # # t.integer "vagasvestibulandoutilizadas", :limit => 10, :precision => 10, :scale => 0
1057
+ # # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
1058
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
1059
+ # # t.boolean "recebepontuacaoturno", :precision => 1, :scale => 0
1060
+ # # t.boolean "ordenacaomanual", :precision => 1, :scale => 0
1061
+ # # end
1062
+ #
1063
+ # create_table "cur_curriculo", :primary_key => "idcurriculo", :force => true do |t|
1064
+ # t.integer "anovigencia", :limit => 10, :precision => 10, :scale => 0
1065
+ # t.integer "chinscpermax", :limit => 10, :precision => 10, :scale => 0
1066
+ # t.integer "chinscpermed", :limit => 10, :precision => 10, :scale => 0
1067
+ # t.integer "chinscpermin", :limit => 10, :precision => 10, :scale => 0
1068
+ # t.integer "codigosequencia", :limit => 10, :precision => 10, :scale => 0, :null => false
1069
+ # t.datetime "datacurriculovigente"
1070
+ # t.datetime "datainiciovigencia"
1071
+ # t.integer "duracaomaxima", :limit => 10, :precision => 10, :scale => 0
1072
+ # t.integer "duracaomedia", :limit => 10, :precision => 10, :scale => 0
1073
+ # t.integer "duracaominima", :limit => 10, :precision => 10, :scale => 0
1074
+ # t.string "identificador", :null => false
1075
+ # t.string "numeroboletimservicouff"
1076
+ # t.integer "numcredinscpermax", :limit => 10, :precision => 10, :scale => 0
1077
+ # t.integer "numcredinscpermed", :limit => 10, :precision => 10, :scale => 0
1078
+ # t.integer "numcredinscpermin", :limit => 10, :precision => 10, :scale => 0
1079
+ # t.integer "numerosemestresvigencia", :limit => 10, :precision => 10, :scale => 0
1080
+ # t.string "resolucaocep"
1081
+ # t.integer "semestrevigencia", :limit => 10, :precision => 10, :scale => 0
1082
+ # t.string "status", :limit => 1, :null => false
1083
+ # t.integer "iddesdobramento", :limit => 19, :precision => 19, :scale => 0, :null => false
1084
+ # t.integer "chobrigatoriatotal", :limit => 10, :precision => 10, :scale => 0
1085
+ # t.integer "choptativatotal", :limit => 10, :precision => 10, :scale => 0
1086
+ # t.integer "cheletivatotal", :limit => 10, :precision => 10, :scale => 0
1087
+ # t.integer "choptativaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
1088
+ # t.integer "choptativaporenfasetotal", :limit => 10, :precision => 10, :scale => 0
1089
+ # t.integer "chobrigatoriaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
1090
+ # t.integer "chatividadecomplementartotal", :limit => 10, :precision => 10, :scale => 0
1091
+ # t.integer "credobrigatoriaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
1092
+ # t.integer "credatividadecomplementartotal", :limit => 10, :precision => 10, :scale => 0
1093
+ # t.integer "credoptativaporenfasetotal", :limit => 10, :precision => 10, :scale => 0
1094
+ # t.integer "credoptativaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
1095
+ # t.integer "credeletivatotal", :limit => 10, :precision => 10, :scale => 0
1096
+ # t.integer "credoptativatotal", :limit => 10, :precision => 10, :scale => 0
1097
+ # t.integer "credobrigatoriatotal", :limit => 10, :precision => 10, :scale => 0
1098
+ # t.integer "chobrigatorialivretotal", :limit => 10, :precision => 10, :scale => 0
1099
+ # t.integer "credobrigatorialivretotal", :limit => 10, :precision => 10, :scale => 0
1100
+ # t.integer "idversaocurriculo", :limit => 19, :precision => 19, :scale => 0
1101
+ # end
1102
+ #
1103
+ # add_index "cur_curriculo", ["identificador"], :name => "academico_curriculo_uk_identif", :unique => true
1104
+ #
1105
+ # create_table "cur_disciplinacurriculo", :primary_key => "iddisciplinacurriculo", :force => true do |t|
1106
+ # t.string "ciclo", :limit => 1
1107
+ # t.integer "periodo", :limit => 10, :precision => 10, :scale => 0, :null => false
1108
+ # t.string "status", :limit => 1, :null => false
1109
+ # t.integer "idtipodisciplinacurriculo", :limit => 19, :precision => 19, :scale => 0, :null => false
1110
+ # t.integer "iddisciplina", :limit => 19, :precision => 19, :scale => 0, :null => false
1111
+ # t.integer "idcurriculo", :limit => 19, :precision => 19, :scale => 0, :null => false
1112
+ # t.integer "idversaocurriculo", :limit => 19, :precision => 19, :scale => 0
1113
+ # t.integer "prerequisitocargahoraria", :limit => 10, :precision => 10, :scale => 0, :default => 0
1114
+ # end
1115
+ #
1116
+ # add_index "cur_disciplinacurriculo", ["idcurriculo"], :name => "disciplina_curr_idcurriculo"
1117
+ # add_index "cur_disciplinacurriculo", ["iddisciplina", "idversaocurriculo", "periodo"], :name => "sys_c0098288", :unique => true
1118
+ # add_index "cur_disciplinacurriculo", ["iddisciplina"], :name => "disciplina_curr_iddisciplina"
1119
+ #
1120
+ # create_table "cur_equivalencia", :primary_key => "idequivalencia", :force => true do |t|
1121
+ # t.integer "codigosiad", :limit => 19, :precision => 19, :scale => 0
1122
+ # t.boolean "ativo", :precision => 1, :scale => 0
1123
+ # t.integer "idversaocurriculo", :limit => 19, :precision => 19, :scale => 0
1124
+ # end
1125
+ #
1126
+ # create_table "cur_equivdisccurriculo", :primary_key => "idequivdisciplinacurriculo", :force => true do |t|
1127
+ # t.integer "idequivalencia", :limit => 19, :precision => 19, :scale => 0
1128
+ # t.integer "iddisciplinacurriculo", :limit => 19, :precision => 19, :scale => 0
1129
+ # end
1130
+ #
1131
+ # create_table "cur_equivdisciplina", :primary_key => "idequivdisciplina", :force => true do |t|
1132
+ # t.integer "idequivalencia", :limit => 19, :precision => 19, :scale => 0
1133
+ # t.integer "iddisciplina", :limit => 19, :precision => 19, :scale => 0
1134
+ # end
1135
+ #
1136
+ # create_table "cur_requisito", :primary_key => "idrequisito", :force => true do |t|
1137
+ # t.string "status", :limit => 1, :null => false
1138
+ # t.string "tipo", :limit => 1, :null => false
1139
+ # t.integer "iddisciplinacurricculo", :limit => 19, :precision => 19, :scale => 0, :null => false
1140
+ # t.integer "iddisciplinacurricrequisito", :limit => 19, :precision => 19, :scale => 0, :null => false
1141
+ # t.integer "idversaocurriculo", :limit => 19, :precision => 19, :scale => 0
1142
+ # end
1143
+ #
1144
+ # add_index "cur_requisito", ["iddisciplinacurricculo"], :name => "requisito_disciplina_curriculo"
1145
+ #
1146
+ # create_table "cur_tipodisciplinacurr", :primary_key => "idtipodisciplina", :force => true do |t|
1147
+ # t.boolean "cargahorarialivre", :precision => 1, :scale => 0, :null => false
1148
+ # t.string "descricao", :null => false
1149
+ # t.string "descricaoabreviada"
1150
+ # t.string "sigla", :limit => 2, :null => false
1151
+ # end
1152
+ #
1153
+ # add_index "cur_tipodisciplinacurr", ["sigla"], :name => "academico_tipodisc_uk_sigla", :unique => true
1154
+ #
1155
+ # create_table "cur_versaocurriculo", :primary_key => "idversaocurriculo", :force => true do |t|
1156
+ # t.integer "sequencial", :limit => 10, :precision => 10, :scale => 0, :null => false
1157
+ # t.datetime "datacriacao"
1158
+ # t.datetime "dataultimamodificacao"
1159
+ # t.boolean "finalizado", :precision => 1, :scale => 0
1160
+ # t.string "observacao"
1161
+ # t.integer "idcurriculo", :limit => 19, :precision => 19, :scale => 0
1162
+ # t.integer "ididentultimaatualizacao", :limit => 19, :precision => 19, :scale => 0
1163
+ # t.integer "ididentcriacao", :limit => 19, :precision => 19, :scale => 0
1164
+ # t.integer "chobrigatoriatotal", :limit => 10, :precision => 10, :scale => 0
1165
+ # t.integer "choptativatotal", :limit => 10, :precision => 10, :scale => 0
1166
+ # t.integer "cheletivatotal", :limit => 10, :precision => 10, :scale => 0
1167
+ # t.integer "choptativaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
1168
+ # t.integer "choptativaporenfasetotal", :limit => 10, :precision => 10, :scale => 0
1169
+ # t.integer "chobrigatoriaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
1170
+ # t.integer "chatividadecomplementartotal", :limit => 10, :precision => 10, :scale => 0
1171
+ # t.integer "chobrigatorialivretotal", :limit => 10, :precision => 10, :scale => 0
1172
+ # t.integer "credobrigatoriatotal", :limit => 10, :precision => 10, :scale => 0
1173
+ # t.integer "credoptativatotal", :limit => 10, :precision => 10, :scale => 0
1174
+ # t.integer "credeletivatotal", :limit => 10, :precision => 10, :scale => 0
1175
+ # t.integer "credoptativaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
1176
+ # t.integer "credoptativaporenfasetotal", :limit => 10, :precision => 10, :scale => 0
1177
+ # t.integer "credobrigatoriaporescolhatotal", :limit => 10, :precision => 10, :scale => 0
1178
+ # t.integer "credatividadecomplementartotal", :limit => 10, :precision => 10, :scale => 0
1179
+ # t.integer "credobrigatorialivretotal", :limit => 10, :precision => 10, :scale => 0
1180
+ # t.integer "duracaomaxima", :limit => 10, :precision => 10, :scale => 0
1181
+ # t.integer "duracaomedia", :limit => 10, :precision => 10, :scale => 0
1182
+ # t.integer "duracaominima", :limit => 10, :precision => 10, :scale => 0
1183
+ # t.integer "chinscpermin", :limit => 10, :precision => 10, :scale => 0
1184
+ # t.integer "chinscpermax", :limit => 10, :precision => 10, :scale => 0
1185
+ # t.integer "numcredinscpermin", :limit => 10, :precision => 10, :scale => 0
1186
+ # t.integer "numcredinscpermax", :limit => 10, :precision => 10, :scale => 0
1187
+ # end
1188
+ #
1189
+ # create_table "curso", :primary_key => "idcurso", :force => true do |t|
1190
+ # t.integer "anovigencia", :limit => 10, :precision => 10, :scale => 0
1191
+ # t.integer "codigo", :limit => 19, :precision => 19, :scale => 0, :null => false
1192
+ # t.datetime "datavigencia"
1193
+ # t.string "nome", :null => false
1194
+ # t.string "resolucaocuv"
1195
+ # t.string "resolucaolegdataagregcurso"
1196
+ # t.string "resolucaolegdatareconhecimento"
1197
+ # t.string "resolucaolegincorporacaocurso"
1198
+ # t.integer "semestrevigencia", :limit => 10, :precision => 10, :scale => 0
1199
+ # t.string "status"
1200
+ # t.integer "unidade_idunidade", :limit => 19, :precision => 19, :scale => 0
1201
+ # t.integer "grau_idgrau", :limit => 19, :precision => 19, :scale => 0
1202
+ # t.string "boletimservico"
1203
+ # t.string "diariooficial", :limit => 100
1204
+ # t.string "atoadministrativocuv"
1205
+ # t.integer "numerocuv", :limit => 10, :precision => 10, :scale => 0
1206
+ # t.datetime "datacuv"
1207
+ # t.integer "numerobs", :limit => 10, :precision => 10, :scale => 0
1208
+ # t.datetime "databs"
1209
+ # t.integer "localidadeprincipal", :limit => 19, :precision => 19, :scale => 0
1210
+ # t.integer "idlocalidadeprincipal", :limit => 19, :precision => 19, :scale => 0
1211
+ # t.integer "idgrupodesloc", :limit => 19, :precision => 19, :scale => 0
1212
+ # end
1213
+ #
1214
+ # add_index "curso", ["codigo"], :name => "academico_curso_uk_codigo", :unique => true
1215
+ # #
1216
+ # # create_table "cursolivro", :primary_key => "idcursolivro", :force => true do |t|
1217
+ # # t.string "ano", :limit => 20
1218
+ # # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
1219
+ # # t.integer "idlivro", :limit => 19, :precision => 19, :scale => 0, :null => false
1220
+ # # end
1221
+ #
1222
+ # create_table "cursolocalidade", :primary_key => "idcursolocalidade", :force => true do |t|
1223
+ # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
1224
+ # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0, :null => false
1225
+ # t.integer "idcoordenacao", :limit => 19, :precision => 19, :scale => 0
1226
+ # t.string "podeincluir", :limit => 1, :default => "1"
1227
+ # end
1228
+ #
1229
+ # add_index "cursolocalidade", ["idcurso", "idlocalidade"], :name => "cursolocalidade_uk", :unique => true
1230
+ # #
1231
+ # # create_table "cursoturno", :primary_key => "idcursoturno", :force => true do |t|
1232
+ # # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
1233
+ # # t.integer "idturno", :limit => 19, :precision => 19, :scale => 0, :null => false
1234
+ # # end
1235
+ # #
1236
+ # # add_index "cursoturno", ["idcurso", "idturno"], :name => "cursoturno_uk", :unique => true
1237
+ #
1238
+ # create_table "dataconclusao", :id => false, :force => true do |t|
1239
+ # t.integer "codgrau", :limit => 2, :precision => 2, :scale => 0, :null => false
1240
+ # t.integer "anosemconclusao", :limit => 5, :precision => 5, :scale => 0, :null => false
1241
+ # t.integer "codcurso", :limit => 3, :precision => 3, :scale => 0, :null => false
1242
+ # t.integer "coddesdcurso", :limit => 3, :precision => 3, :scale => 0, :null => false
1243
+ # t.integer "codcentro", :limit => 5, :precision => 5, :scale => 0, :null => false
1244
+ # t.integer "mesconclusao", :limit => 2, :precision => 2, :scale => 0, :null => false
1245
+ # t.datetime "dataconclusao"
1246
+ # end
1247
+ #
1248
+ # # Could not dump table "declaracao" because of following StandardError
1249
+ # # Unknown type 'LONG' for column 'textogerado'
1250
+ #
1251
+ # create_table "departamento", :primary_key => "iddepartamento", :force => true do |t|
1252
+ # t.integer "idorgao", :limit => 19, :precision => 19, :scale => 0, :null => false
1253
+ # end
1254
+ #
1255
+ # create_table "desdobramento", :primary_key => "iddesdobramento", :force => true do |t|
1256
+ # t.integer "anovigencia", :limit => 10, :precision => 10, :scale => 0
1257
+ # t.integer "codigo", :limit => 19, :precision => 19, :scale => 0, :null => false
1258
+ # t.datetime "datavigencia"
1259
+ # t.string "enfase"
1260
+ # t.string "habilitacao"
1261
+ # t.string "nome", :null => false
1262
+ # t.string "resolucaocuv"
1263
+ # t.string "resolucaolegdataagregcurso"
1264
+ # t.string "resolucaolegdatareconhecimento"
1265
+ # t.string "resolucaolegincorporacaocurso"
1266
+ # t.integer "semestrevigencia", :limit => 10, :precision => 10, :scale => 0
1267
+ # t.string "status"
1268
+ # t.string "titulacao"
1269
+ # t.integer "curso", :limit => 19, :precision => 19, :scale => 0, :null => false
1270
+ # t.string "linhadeformacao"
1271
+ # t.boolean "ativo", :precision => 1, :scale => 0
1272
+ # end
1273
+ #
1274
+ # add_index "desdobramento", ["codigo", "curso"], :name => "academico_desd_uk_codigocurso", :unique => true
1275
+ # #
1276
+ # # create_table "desistenciavaga", :primary_key => "iddesistenciavaga", :force => true do |t|
1277
+ # # t.timestamp "dataaberturapedido", :limit => 6
1278
+ # # t.timestamp "dataconclusaopedido", :limit => 6
1279
+ # # t.timestamp "dataconfirmacaopedido", :limit => 6
1280
+ # # t.string "motivo", :limit => 500
1281
+ # # t.string "status"
1282
+ # # t.string "token", :limit => 200, :null => false
1283
+ # # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
1284
+ # # end
1285
+ # #
1286
+ # # add_index "desistenciavaga", ["token"], :name => "sys_c0098327", :unique => true
1287
+ #
1288
+ # create_table "diario", :primary_key => "iddiario", :force => true do |t|
1289
+ # t.timestamp "datadiario", :limit => 6
1290
+ # t.integer "idalunoturma", :limit => 19, :precision => 19, :scale => 0, :null => false
1291
+ # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
1292
+ # t.integer "anomes", :limit => 19, :precision => 19, :scale => 0, :null => false
1293
+ # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0, :null => false
1294
+ # t.integer "status", :limit => 10, :precision => 10, :scale => 0
1295
+ # end
1296
+ # #
1297
+ # # create_table "dip_alunodiploma", :primary_key => "idalunodiploma", :force => true do |t|
1298
+ # # t.boolean "cancelado", :precision => 1, :scale => 0, :null => false
1299
+ # # t.integer "iddiploma", :limit => 19, :precision => 19, :scale => 0, :null => false
1300
+ # # t.integer "idaluno", :limit => 19, :precision => 19, :scale => 0, :null => false
1301
+ # # end
1302
+ # #
1303
+ # # create_table "dip_alunoformatura", :primary_key => "idalunoformatura", :force => true do |t|
1304
+ # # t.boolean "compareceu", :precision => 1, :scale => 0
1305
+ # # t.integer "idformatura", :limit => 19, :precision => 19, :scale => 0, :null => false
1306
+ # # t.integer "idalunocurriculo", :limit => 19, :precision => 19, :scale => 0
1307
+ # # t.boolean "pegoudiploma", :precision => 1, :scale => 0
1308
+ # # t.boolean "pegoucertidao", :precision => 1, :scale => 0
1309
+ # # t.boolean "pegouhistorico", :precision => 1, :scale => 0
1310
+ # # end
1311
+ # #
1312
+ # # create_table "dip_alunoformaturaata", :primary_key => "idalunoformaturaata", :force => true do |t|
1313
+ # # t.boolean "pegoucertidao", :precision => 1, :scale => 0, :null => false
1314
+ # # t.boolean "pegoudiploma", :precision => 1, :scale => 0, :null => false
1315
+ # # t.boolean "pegouhistorico", :precision => 1, :scale => 0, :null => false
1316
+ # # t.string "motivo"
1317
+ # # end
1318
+ # #
1319
+ # # create_table "dip_ata", :primary_key => "idata", :force => true do |t|
1320
+ # # t.boolean "concluida", :precision => 1, :scale => 0
1321
+ # # t.integer "idformatura", :limit => 19, :precision => 19, :scale => 0, :null => false
1322
+ # # t.string "descricao"
1323
+ # # end
1324
+ # #
1325
+ # # create_table "dip_configuracoes", :primary_key => "idconfiguracoes", :force => true do |t|
1326
+ # # t.string "nomereitor"
1327
+ # # end
1328
+ #
1329
+ # create_table "dip_dataconclusao", :primary_key => "iddataconclusao", :force => true do |t|
1330
+ # t.integer "ano", :limit => 10, :precision => 10, :scale => 0, :null => false
1331
+ # t.datetime "dataconclusao", :null => false
1332
+ # t.integer "semestre", :limit => 10, :precision => 10, :scale => 0, :null => false
1333
+ # t.integer "iddesdobramento", :limit => 10, :precision => 10, :scale => 0, :null => false
1334
+ # t.decimal "mes"
1335
+ # end
1336
+ # #
1337
+ # # create_table "dip_diploma", :primary_key => "iddiploma", :force => true do |t|
1338
+ # # t.timestamp "dataregistro", :limit => 6
1339
+ # # t.integer "codigopapel", :limit => 10, :precision => 10, :scale => 0, :null => false
1340
+ # # t.integer "numeroprotocolo", :limit => 10, :precision => 10, :scale => 0, :null => false
1341
+ # # t.integer "registro", :limit => 10, :precision => 10, :scale => 0, :null => false
1342
+ # # t.integer "idviadiploma", :limit => 19, :precision => 19, :scale => 0
1343
+ # # t.integer "idformatura", :limit => 19, :precision => 19, :scale => 0, :null => false
1344
+ # # t.integer "idalunocurriculo", :limit => 19, :precision => 19, :scale => 0, :null => false
1345
+ # # t.integer "idpagina", :limit => 19, :precision => 19, :scale => 0, :null => false
1346
+ # # t.integer "iddataconclusao", :limit => 19, :precision => 19, :scale => 0, :null => false
1347
+ # # t.datetime "datacriacao"
1348
+ # # t.datetime "dataexclusao"
1349
+ # # t.string "motivoexclusao"
1350
+ # # t.datetime "dataentrega"
1351
+ # # t.integer "idreconhecimento", :limit => 19, :precision => 19, :scale => 0
1352
+ # # end
1353
+ # #
1354
+ # # create_table "dip_formatura", :primary_key => "idformatura", :force => true do |t|
1355
+ # # t.timestamp "dataformatura", :limit => 6
1356
+ # # t.integer "periodo", :limit => 10, :precision => 10, :scale => 0
1357
+ # # t.string "status"
1358
+ # # t.string "strlocal"
1359
+ # # t.integer "idfuncionario", :limit => 19, :precision => 19, :scale => 0, :null => false
1360
+ # # t.integer "curso_idcurso", :limit => 19, :precision => 19, :scale => 0
1361
+ # # t.integer "ano", :limit => 4, :precision => 4, :scale => 0
1362
+ # # t.integer "idata", :limit => 19, :precision => 19, :scale => 0
1363
+ # # end
1364
+ # #
1365
+ # # create_table "dip_livro", :primary_key => "idlivro", :force => true do |t|
1366
+ # # t.boolean "aberto", :precision => 1, :scale => 0, :null => false
1367
+ # # t.string "codigo"
1368
+ # # t.datetime "datacriacao", :null => false
1369
+ # # t.integer "numero", :limit => 10, :precision => 10, :scale => 0
1370
+ # # t.string "termoabertura"
1371
+ # # t.integer "idultimapagina", :limit => 19, :precision => 19, :scale => 0
1372
+ # # t.integer "totalpaginas", :limit => 10, :precision => 10, :scale => 0
1373
+ # # end
1374
+ # #
1375
+ # # create_table "dip_pagina", :primary_key => "idpagina", :force => true do |t|
1376
+ # # t.integer "numeropagina", :limit => 10, :precision => 10, :scale => 0, :null => false
1377
+ # # t.integer "idlivro", :limit => 19, :precision => 19, :scale => 0, :null => false
1378
+ # # t.decimal "numeroregistros"
1379
+ # # t.string "lado", :limit => 1
1380
+ # # end
1381
+ # #
1382
+ # # create_table "dip_pendencia", :primary_key => "idpendencia", :force => true do |t|
1383
+ # # t.string "descricao"
1384
+ # # t.boolean "bloqueante", :precision => 1, :scale => 0
1385
+ # # t.datetime "datacriacao"
1386
+ # # t.datetime "datatermino"
1387
+ # # end
1388
+ # #
1389
+ # # create_table "dip_viadiploma", :primary_key => "idviadiploma", :force => true do |t|
1390
+ # # t.string "dataconclusao", :limit => 20
1391
+ # # t.string "titulo", :limit => 50
1392
+ # # t.string "nomealuno", :limit => 50
1393
+ # # t.string "datanascimento", :limit => 20
1394
+ # # t.string "nacionalidade", :limit => 20
1395
+ # # t.string "numeroidentidade", :limit => 20
1396
+ # # t.string "orgaoexpedidoridentidade", :limit => 40
1397
+ # # t.string "dia", :limit => 20
1398
+ # # t.string "mes", :limit => 20
1399
+ # # t.string "ano", :limit => 20
1400
+ # # t.string "numeroregistro", :limit => 20
1401
+ # # t.string "livro", :limit => 20
1402
+ # # t.string "folha", :limit => 20
1403
+ # # t.string "dataregistro", :limit => 20
1404
+ # # t.integer "ididentificadorresponsavel", :limit => 19, :precision => 19, :scale => 0
1405
+ # # t.integer "iddiploma", :limit => 19, :precision => 19, :scale => 0, :null => false
1406
+ # # t.string "curso", :limit => 50
1407
+ # # t.string "naturalidade", :limit => 40
1408
+ # # t.string "codigopapel", :limit => 20
1409
+ # # t.datetime "dataanulacao"
1410
+ # # t.string "motivoanulacao", :limit => 200
1411
+ # # t.datetime "datacriacao"
1412
+ # # t.boolean "anulado", :precision => 1, :scale => 0
1413
+ # # t.string "via", :limit => 20
1414
+ # # t.string "numeroreconhecimento", :limit => 20
1415
+ # # t.string "datadiariooficial", :limit => 20
1416
+ # # t.string "datareconhecimento", :limit => 20
1417
+ # # end
1418
+ #
1419
+ # create_table "disciplina", :primary_key => "iddisciplina", :force => true do |t|
1420
+ # t.integer "anovigencia", :limit => 10, :precision => 10, :scale => 0
1421
+ # t.integer "cargahorariaestagio", :limit => 10, :precision => 10, :scale => 0
1422
+ # t.integer "cargahorariapratica", :limit => 10, :precision => 10, :scale => 0
1423
+ # t.integer "cargahorariateorica", :limit => 10, :precision => 10, :scale => 0
1424
+ # t.string "codigo", :null => false
1425
+ # t.integer "creditos", :limit => 10, :precision => 10, :scale => 0
1426
+ # t.timestamp "datacriacao", :limit => 6
1427
+ # t.timestamp "datadesativacao", :limit => 6
1428
+ # t.string "nome", :null => false
1429
+ # t.integer "numerohoras", :limit => 10, :precision => 10, :scale => 0
1430
+ # t.integer "numerosemanas", :limit => 10, :precision => 10, :scale => 0
1431
+ # t.integer "semestrevigencia", :limit => 10, :precision => 10, :scale => 0
1432
+ # t.integer "sequencial", :limit => 10, :precision => 10, :scale => 0, :null => false
1433
+ # t.string "status"
1434
+ # t.string "tipodisciplina"
1435
+ # t.integer "cod_motivodesativacao", :limit => 19, :precision => 19, :scale => 0
1436
+ # t.integer "cod_coordenacao", :limit => 19, :precision => 19, :scale => 0
1437
+ # t.integer "cod_departamento", :limit => 19, :precision => 19, :scale => 0
1438
+ # t.integer "cod_materia", :limit => 19, :precision => 19, :scale => 0
1439
+ # t.decimal "codigoidentificador", :null => false
1440
+ # t.integer "idcaracteristicadisciplina", :limit => 19, :precision => 19, :scale => 0
1441
+ # t.integer "idgrau", :limit => 19, :precision => 19, :scale => 0
1442
+ # t.integer "idementa", :limit => 19, :precision => 19, :scale => 0
1443
+ # t.boolean "anual", :precision => 1, :scale => 0
1444
+ # t.integer "iddisciplinabase", :limit => 19, :precision => 19, :scale => 0
1445
+ # t.integer "ididentcriacao", :limit => 19, :precision => 19, :scale => 0
1446
+ # t.integer "ididentultimaatualizacao", :limit => 19, :precision => 19, :scale => 0
1447
+ # t.datetime "dataultimamodificacao"
1448
+ # t.integer "iddisciplinaoriginada", :limit => 19, :precision => 19, :scale => 0
1449
+ # end
1450
+ #
1451
+ # add_index "disciplina", ["UPPER(\"CODIGO\")"], :name => "cod_disciplina"
1452
+ # add_index "disciplina", ["codigo"], :name => "academico_disciplina_uk_codigo", :unique => true
1453
+ # #
1454
+ # # create_table "disciplinacurriculomigracao", :primary_key => "iddisciplinacurriculomigracao", :force => true do |t|
1455
+ # # t.string "observacao"
1456
+ # # t.integer "iddisciplinamigracao", :limit => 19, :precision => 19, :scale => 0
1457
+ # # t.integer "iddisciplinacurriculo", :limit => 19, :precision => 19, :scale => 0
1458
+ # # t.boolean "considerardiscbase", :precision => 1, :scale => 0
1459
+ # # t.integer "idtipodisciplinacurriculo", :limit => 19, :precision => 19, :scale => 0
1460
+ # # t.integer "iddisciplina", :limit => 19, :precision => 19, :scale => 0
1461
+ # # t.integer "idcurriculo", :limit => 19, :precision => 19, :scale => 0
1462
+ # # t.integer "idversaocurriculo", :limit => 19, :precision => 19, :scale => 0
1463
+ # # t.integer "periodo", :limit => 10, :precision => 10, :scale => 0
1464
+ # # t.integer "prerequisitocargahoraria", :limit => 10, :precision => 10, :scale => 0
1465
+ # # end
1466
+ # #
1467
+ # # create_table "disciplinaequiv", :force => true do |t|
1468
+ # # t.integer "idequivalencia", :limit => 19, :precision => 19, :scale => 0, :null => false
1469
+ # # t.integer "iddisciplinaequivalente", :limit => 19, :precision => 19, :scale => 0, :null => false
1470
+ # # end
1471
+ # #
1472
+ # # create_table "disciplinamigracao", :primary_key => "iddisciplinamigracao", :force => true do |t|
1473
+ # # t.string "observacao"
1474
+ # # t.integer "iddisciplina", :limit => 19, :precision => 19, :scale => 0
1475
+ # # t.integer "idmigracaodisciplinas", :limit => 19, :precision => 19, :scale => 0
1476
+ # # end
1477
+ # #
1478
+ # # create_table "ementa", :primary_key => "idementa", :force => true do |t|
1479
+ # # t.string "descricao", :limit => 4000, :null => false
1480
+ # # t.integer "iddisciplina", :limit => 19, :precision => 19, :scale => 0
1481
+ # # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0
1482
+ # # end
1483
+ # #
1484
+ # # create_table "equivalencia", :force => true do |t|
1485
+ # # t.integer "codigosiad", :limit => 19, :precision => 19, :scale => 0
1486
+ # # t.boolean "ativo", :precision => 1, :scale => 0
1487
+ # # end
1488
+ # #
1489
+ # # create_table "equivcurso", :primary_key => "idequivalenciacurso", :force => true do |t|
1490
+ # # t.integer "agrupador", :limit => 19, :precision => 19, :scale => 0, :null => false
1491
+ # # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
1492
+ # # end
1493
+ # #
1494
+ # # add_index "equivcurso", ["agrupador", "idcurso"], :name => "academico_equivcurso_uk1", :unique => true
1495
+ # #
1496
+ # # create_table "erros_dadosaluno_siad", :id => false, :force => true do |t|
1497
+ # # t.integer "cod_operacao", :limit => 10, :precision => 10, :scale => 0
1498
+ # # t.string "descricao_erro", :limit => 1024
1499
+ # # t.timestamp "data_erro", :limit => 6
1500
+ # # end
1501
+ # #
1502
+ # # create_table "erros_siad", :id => false, :force => true do |t|
1503
+ # # t.integer "cod_operacao", :limit => 10, :precision => 10, :scale => 0
1504
+ # # t.string "descricao_erro", :limit => 1024
1505
+ # # t.string "codturma", :limit => 5
1506
+ # # t.string "coddisciplina", :limit => 20
1507
+ # # t.string "anosemestre", :limit => 5
1508
+ # # t.integer "codlocalidade", :limit => 10, :precision => 10, :scale => 0
1509
+ # # t.string "entidade_ref"
1510
+ # # t.timestamp "data_erro", :limit => 6
1511
+ # # end
1512
+ #
1513
+ # create_table "formaingresso", :primary_key => "idformaingresso", :force => true do |t|
1514
+ # t.integer "codigo", :limit => 19, :precision => 19, :scale => 0, :null => false
1515
+ # t.string "descricao", :null => false
1516
+ # t.string "descricaoabreviada", :null => false
1517
+ # t.string "descricaohistorico", :null => false
1518
+ # t.string "descricaoinep", :null => false
1519
+ # t.string "status", :null => false
1520
+ # t.integer "idingresso", :limit => 19, :precision => 19, :scale => 0, :null => false
1521
+ # end
1522
+ #
1523
+ # add_index "formaingresso", ["codigo"], :name => "sys_c0098422", :unique => true
1524
+ #
1525
+ # create_table "grau", :primary_key => "idgrau", :force => true do |t|
1526
+ # t.integer "codigo", :limit => 19, :precision => 19, :scale => 0, :null => false
1527
+ # t.string "descricao"
1528
+ # t.string "nome", :null => false
1529
+ # t.string "sigla", :limit => 5, :null => false
1530
+ # t.string "status"
1531
+ # end
1532
+ #
1533
+ # add_index "grau", ["codigo"], :name => "sys_c0098428", :unique => true
1534
+ # add_index "grau", ["nome"], :name => "sys_c0098429", :unique => true
1535
+ # add_index "grau", ["sigla"], :name => "sys_c0098430", :unique => true
1536
+ #
1537
+ # create_table "grupodeslocamento", :force => true do |t|
1538
+ # t.string "nome", :null => false
1539
+ # end
1540
+ #
1541
+ # #add_index "historico", ["fk_aluno", "fk_disciplina", "anosemestre"], :name => "academico_historico_uk", :unique => true
1542
+ #
1543
+ # create_table "horarioturma", :primary_key => "idhorarioturma", :force => true do |t|
1544
+ # t.integer "diasemana", :limit => 10, :precision => 10, :scale => 0
1545
+ # t.datetime "horafim"
1546
+ # t.datetime "horainicio"
1547
+ # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
1548
+ # end
1549
+ #
1550
+ # add_index "horarioturma", ["diasemana", "horafim", "horainicio", "idturma"], :name => "academico_horarioturma_uk1", :unique => true
1551
+ # add_index "horarioturma", ["idturma"], :name => "horarios_idturma"
1552
+ #
1553
+ # create_table "identificadororgao", :primary_key => "ididentificador", :force => true do |t|
1554
+ # t.integer "idorgao", :limit => 19, :precision => 19, :scale => 0, :null => false
1555
+ # t.datetime "dataalocacao"
1556
+ # t.datetime "datatermino"
1557
+ # t.string "tipo", :limit => 80, :null => false
1558
+ # t.boolean "ativo", :precision => 1, :scale => 0
1559
+ # end
1560
+ #
1561
+ # create_table "ingresso", :primary_key => "idingresso", :force => true do |t|
1562
+ # t.integer "codigo", :limit => 19, :precision => 19, :scale => 0, :null => false
1563
+ # t.string "descricao"
1564
+ # t.string "status"
1565
+ # end
1566
+ #
1567
+ # add_index "ingresso", ["codigo"], :name => "sys_c0098447", :unique => true
1568
+ # #
1569
+ # # create_table "insc_alunoturmaauxpo", :primary_key => "idalunoturmaauxiliarpo", :force => true do |t|
1570
+ # # t.integer "idalunoturma", :limit => 20, :precision => 20, :scale => 0, :null => false
1571
+ # # t.integer "status", :limit => 10, :precision => 10, :scale => 0
1572
+ # # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0
1573
+ # # t.integer "vagas", :limit => 10, :precision => 10, :scale => 0
1574
+ # # t.boolean "valido", :precision => 1, :scale => 0
1575
+ # # end
1576
+ # #
1577
+ # # create_table "insc_alunoturmaauxpp", :primary_key => "idalunoturmaauxiliarpp", :force => true do |t|
1578
+ # # t.integer "idalunoturma", :limit => 20, :precision => 20, :scale => 0, :null => false
1579
+ # # t.integer "status", :limit => 10, :precision => 10, :scale => 0
1580
+ # # t.integer "posicao", :limit => 10, :precision => 10, :scale => 0
1581
+ # # t.integer "vagas", :limit => 10, :precision => 10, :scale => 0
1582
+ # # t.boolean "valido", :precision => 1, :scale => 0
1583
+ # # t.boolean "commitado", :precision => 1, :scale => 0
1584
+ # # end
1585
+ # #
1586
+ # # create_table "insc_resumopo", :primary_key => "idresumopo", :force => true do |t|
1587
+ # # t.integer "idvagaturmacurso", :limit => 20, :precision => 20, :scale => 0, :null => false
1588
+ # # t.integer "idturma", :limit => 20, :precision => 20, :scale => 0, :null => false
1589
+ # # t.integer "idcurso", :limit => 20, :precision => 20, :scale => 0, :null => false
1590
+ # # t.integer "vagas", :limit => 10, :precision => 10, :scale => 0
1591
+ # # t.integer "candidatos", :limit => 10, :precision => 10, :scale => 0
1592
+ # # t.integer "inscritos", :limit => 10, :precision => 10, :scale => 0
1593
+ # # t.integer "excedentes", :limit => 10, :precision => 10, :scale => 0
1594
+ # # t.boolean "valido", :precision => 1, :scale => 0
1595
+ # # end
1596
+ # #
1597
+ # # create_table "insc_resumopp", :primary_key => "idresumopp", :force => true do |t|
1598
+ # # t.integer "idvagaturmacurso", :limit => 20, :precision => 20, :scale => 0, :null => false
1599
+ # # t.integer "idturma", :limit => 20, :precision => 20, :scale => 0, :null => false
1600
+ # # t.integer "idcurso", :limit => 20, :precision => 20, :scale => 0, :null => false
1601
+ # # t.integer "vagaspresencial", :limit => 10, :precision => 10, :scale => 0
1602
+ # # t.integer "candidatospresencial", :limit => 10, :precision => 10, :scale => 0
1603
+ # # t.integer "inscritospresencial", :limit => 10, :precision => 10, :scale => 0
1604
+ # # t.integer "excedentespresencial", :limit => 10, :precision => 10, :scale => 0
1605
+ # # t.boolean "valido", :precision => 1, :scale => 0
1606
+ # # t.integer "totalvagasregular", :limit => 10, :precision => 10, :scale => 0
1607
+ # # t.integer "totalinscritosregular", :limit => 10, :precision => 10, :scale => 0
1608
+ # # t.integer "totalexcedentesregular", :limit => 10, :precision => 10, :scale => 0
1609
+ # # t.integer "vagasvestibulando", :limit => 10, :precision => 10, :scale => 0
1610
+ # # t.integer "inscritosvestibulando", :limit => 10, :precision => 10, :scale => 0
1611
+ # # end
1612
+ # #
1613
+ # # create_table "internato", :primary_key => "idinternato", :force => true do |t|
1614
+ # # t.datetime "datafim"
1615
+ # # t.datetime "datainicio", :null => false
1616
+ # # t.integer "aluno_ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
1617
+ # # end
1618
+ # #
1619
+ # # create_table "itemcalendario", :primary_key => "iditemcalendario", :force => true do |t|
1620
+ # # t.string "evento", :null => false
1621
+ # # t.timestamp "fim", :limit => 6
1622
+ # # t.timestamp "inicio", :limit => 6
1623
+ # # t.integer "numerosemanas", :limit => 10, :precision => 10, :scale => 0
1624
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
1625
+ # # t.integer "idcursolocalidade", :limit => 19, :precision => 19, :scale => 0, :null => false
1626
+ # # end
1627
+ #
1628
+ # create_table "localidade", :primary_key => "idlocalidade", :force => true do |t|
1629
+ # t.integer "codigo", :limit => 19, :precision => 19, :scale => 0, :null => false
1630
+ # t.string "nome", :null => false
1631
+ # t.string "sigla", :limit => 3, :null => false
1632
+ # t.string "status", :null => false
1633
+ # t.integer "cidade_idcidade", :limit => 19, :precision => 19, :scale => 0
1634
+ # end
1635
+ #
1636
+ # add_index "localidade", ["cidade_idcidade"], :name => "sys_c0098482", :unique => true
1637
+ # add_index "localidade", ["codigo"], :name => "sys_c0098479", :unique => true
1638
+ # add_index "localidade", ["nome"], :name => "sys_c0098480", :unique => true
1639
+ # add_index "localidade", ["sigla"], :name => "sys_c0098481", :unique => true
1640
+ # #
1641
+ # # create_table "log_acomp_siad", :id => false, :force => true do |t|
1642
+ # # t.decimal "codgrau"
1643
+ # # t.decimal "codingresso"
1644
+ # # t.decimal "anomat"
1645
+ # # t.decimal "codcurso"
1646
+ # # t.decimal "ordemmat"
1647
+ # # t.string "operacao", :limit => 1
1648
+ # # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0
1649
+ # # t.datetime "data"
1650
+ # # end
1651
+ # #
1652
+ # # create_table "log_alteracaoturnocorrente", :force => true do |t|
1653
+ # # t.string "matricula", :limit => 20, :null => false
1654
+ # # t.decimal "idturnoantigo"
1655
+ # # t.decimal "idturnonovo"
1656
+ # # t.decimal "idcurso", :null => false
1657
+ # # t.decimal "ididentificacao", :null => false
1658
+ # # t.timestamp "data", :limit => 6
1659
+ # # end
1660
+ # #
1661
+ # # create_table "log_boletim", :primary_key => "idlogboletim", :force => true do |t|
1662
+ # # t.integer "idboletim", :limit => 19, :precision => 19, :scale => 0, :null => false
1663
+ # # t.timestamp "dataacompanhamento", :limit => 6, :null => false
1664
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
1665
+ # # t.string "ipdeacesso"
1666
+ # # t.string "portadeacesso"
1667
+ # # t.string "valoresantigos"
1668
+ # # t.string "valoresnovos"
1669
+ # # end
1670
+ # #
1671
+ # # create_table "log_diploma", :primary_key => "idlogdiploma", :force => true do |t|
1672
+ # # t.string "operacao", :null => false
1673
+ # # t.integer "idantigoobjeto", :limit => 19, :precision => 19, :scale => 0
1674
+ # # t.integer "idnovoobjeto", :limit => 19, :precision => 19, :scale => 0
1675
+ # # t.string "tabela", :null => false
1676
+ # # t.integer "ididentificadorresponsavel", :limit => 19, :precision => 19, :scale => 0, :null => false
1677
+ # # t.datetime "dataoperacao", :null => false
1678
+ # # end
1679
+ # #
1680
+ # # create_table "log_disciplina", :primary_key => "iddisciplinalog", :force => true do |t|
1681
+ # # t.integer "iddisciplina", :limit => 19, :precision => 19, :scale => 0
1682
+ # # t.integer "iddepartamento", :limit => 19, :precision => 19, :scale => 0
1683
+ # # t.integer "idcoordenacao", :limit => 19, :precision => 19, :scale => 0
1684
+ # # t.integer "idmotivodesativacao", :limit => 19, :precision => 19, :scale => 0
1685
+ # # t.integer "idmateria", :limit => 19, :precision => 19, :scale => 0
1686
+ # # t.integer "idcaracteristicadisciplina", :limit => 19, :precision => 19, :scale => 0
1687
+ # # t.integer "idgrau", :limit => 19, :precision => 19, :scale => 0
1688
+ # # t.integer "iddisciplinabase", :limit => 19, :precision => 19, :scale => 0
1689
+ # # t.integer "ididentcriacao", :limit => 19, :precision => 19, :scale => 0
1690
+ # # t.integer "ididentultimaatualizacao", :limit => 19, :precision => 19, :scale => 0
1691
+ # # t.integer "creditos", :limit => 10, :precision => 10, :scale => 0
1692
+ # # t.integer "numerohoras", :limit => 10, :precision => 10, :scale => 0
1693
+ # # t.integer "numerosemanas", :limit => 10, :precision => 10, :scale => 0
1694
+ # # t.integer "cargahorariateorica", :limit => 10, :precision => 10, :scale => 0
1695
+ # # t.integer "cargahorariapratica", :limit => 10, :precision => 10, :scale => 0
1696
+ # # t.integer "cargahorariaestagio", :limit => 10, :precision => 10, :scale => 0
1697
+ # # t.integer "anovigencia", :limit => 10, :precision => 10, :scale => 0
1698
+ # # t.integer "semestrevigencia", :limit => 10, :precision => 10, :scale => 0
1699
+ # # t.integer "sequencial", :limit => 10, :precision => 10, :scale => 0
1700
+ # # t.integer "codigoidentificador", :limit => 10, :precision => 10, :scale => 0
1701
+ # # t.datetime "datacriacao"
1702
+ # # t.datetime "datadesativacao"
1703
+ # # t.datetime "dataoperacao"
1704
+ # # t.string "descricaoementa", :limit => 4000
1705
+ # # t.string "status"
1706
+ # # t.string "codigo"
1707
+ # # t.string "nome"
1708
+ # # t.string "tipodisciplina"
1709
+ # # t.string "tipooperacao"
1710
+ # # t.boolean "anual", :precision => 1, :scale => 0
1711
+ # # t.integer "iddisciplinaoriginada", :limit => 19, :precision => 19, :scale => 0
1712
+ # # end
1713
+ # #
1714
+ # # create_table "log_identificacaounificada", :primary_key => "ididentificacaounificada", :force => true do |t|
1715
+ # # t.string "identificacaoquepermaneceu", :limit => 500, :null => false
1716
+ # # t.string "identificacaoquefoiapagada", :limit => 500, :null => false
1717
+ # # t.timestamp "dataunificacao", :limit => 6
1718
+ # # t.integer "ididentificadorautor", :limit => 19, :precision => 19, :scale => 0, :null => false
1719
+ # # end
1720
+ # #
1721
+ # # create_table "log_login", :id => false, :force => true do |t|
1722
+ # # t.timestamp "data", :limit => 6, :null => false
1723
+ # # t.string "login", :limit => 20, :null => false
1724
+ # # t.boolean "sucesso", :precision => 1, :scale => 0, :null => false
1725
+ # # t.string "ip", :limit => 20
1726
+ # # t.string "porta", :limit => 20
1727
+ # # end
1728
+ # #
1729
+ # # create_table "log_personificacao", :id => false, :force => true do |t|
1730
+ # # t.timestamp "data", :limit => 6
1731
+ # # t.string "ip", :limit => 20
1732
+ # # t.string "porta", :limit => 20
1733
+ # # t.string "cpf_admin", :limit => 20
1734
+ # # t.string "cpf_personificado", :limit => 20
1735
+ # # t.integer "id_admin", :limit => 19, :precision => 19, :scale => 0, :null => false
1736
+ # # t.integer "id_identificacao_personificada", :limit => 19, :precision => 19, :scale => 0, :null => false
1737
+ # # end
1738
+ # #
1739
+ # # create_table "log_pub_id", :force => true do |t|
1740
+ # # t.integer "ididentificacao", :limit => 19, :precision => 19, :scale => 0
1741
+ # # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0
1742
+ # # t.datetime "data_atualizacao"
1743
+ # # t.decimal "deve_atualizar", :default => 1.0
1744
+ # # t.string "op", :limit => 10
1745
+ # # end
1746
+ # #
1747
+ # # create_table "log_recuperacaodesenha", :primary_key => "idlogrecuperacaodesenha", :force => true do |t|
1748
+ # # t.string "cpf", :null => false
1749
+ # # t.string "obs"
1750
+ # # t.timestamp "hora", :limit => 6
1751
+ # # t.string "ip", :limit => 20
1752
+ # # t.string "porta", :limit => 20
1753
+ # # end
1754
+ # #
1755
+ # # create_table "materia", :primary_key => "idmateria", :force => true do |t|
1756
+ # # t.integer "codigo", :limit => 10, :precision => 10, :scale => 0, :null => false
1757
+ # # t.string "descricao", :null => false
1758
+ # # t.string "status", :limit => 1, :null => false
1759
+ # # end
1760
+ # #
1761
+ # # add_index "materia", ["codigo"], :name => "academico_materia_uk_codigo", :unique => true
1762
+ # #
1763
+ # # create_table "migracaodisciplinas", :primary_key => "idmigracaodisciplinas", :force => true do |t|
1764
+ # # t.integer "anovigencia", :limit => 10, :precision => 10, :scale => 0
1765
+ # # t.datetime "datamigracao"
1766
+ # # t.integer "semestrevigencia", :limit => 10, :precision => 10, :scale => 0
1767
+ # # t.integer "idorgaodestino", :limit => 19, :precision => 19, :scale => 0
1768
+ # # t.integer "ididentcriacao", :limit => 19, :precision => 19, :scale => 0
1769
+ # # t.integer "idorgaoorigem", :limit => 19, :precision => 19, :scale => 0
1770
+ # # end
1771
+ # #
1772
+ # # create_table "motivodesativacao", :primary_key => "idmotivodesativacao", :force => true do |t|
1773
+ # # t.integer "codigo", :limit => 10, :precision => 10, :scale => 0, :null => false
1774
+ # # t.string "descricao", :null => false
1775
+ # # end
1776
+ # #
1777
+ # # add_index "motivodesativacao", ["codigo"], :name => "academico_motdes_uk_codigo", :unique => true
1778
+ # #
1779
+ # # # Could not dump table "plan_table" because of following StandardError
1780
+ # # # Unknown type 'LONG' for column 'other'
1781
+ #
1782
+ # create_table "planoinscricao", :primary_key => "idplanoinscricao", :force => true do |t|
1783
+ # t.string "nome", :limit => 60, :null => false
1784
+ # t.datetime "datacriacao", :null => false
1785
+ # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0, :null => false
1786
+ # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
1787
+ # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
1788
+ # end
1789
+ #
1790
+ # create_table "planovtc", :primary_key => "idplanovtc", :force => true do |t|
1791
+ # t.integer "idplanoinscricao", :limit => 19, :precision => 19, :scale => 0, :null => false
1792
+ # t.integer "idvagaturmacurso", :limit => 19, :precision => 19, :scale => 0, :null => false
1793
+ # end
1794
+ # #
1795
+ # # create_table "plugin_schema_migrations", :id => false, :force => true do |t|
1796
+ # # t.string "plugin_name"
1797
+ # # t.string "version"
1798
+ # # end
1799
+ #
1800
+ # create_table "polo", :primary_key => "idpolo", :force => true do |t|
1801
+ # t.string "codigo", :limit => 20
1802
+ # t.string "descricao", :limit => 20
1803
+ # end
1804
+ # #
1805
+ # # create_table "processotransf", :primary_key => "idprocessotransferencia", :force => true do |t|
1806
+ # # t.datetime "dataprocesso"
1807
+ # # t.string "oficio"
1808
+ # # t.string "origemdestinoaluno"
1809
+ # # t.integer "tempooutraies", :limit => 10, :precision => 10, :scale => 0
1810
+ # # t.string "tipo", :null => false
1811
+ # # t.integer "aluno_ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
1812
+ # # end
1813
+ #
1814
+ # create_table "professor", :primary_key => "ididentificador", :force => true do |t|
1815
+ # t.boolean "ativo", :precision => 1, :scale => 0
1816
+ # t.datetime "dataalocacao"
1817
+ # t.datetime "datatermino"
1818
+ # t.integer "idfuncionario", :limit => 19, :precision => 19, :scale => 0, :null => false
1819
+ # t.integer "idorgao", :limit => 19, :precision => 19, :scale => 0
1820
+ # end
1821
+ #
1822
+ # create_table "professorturma", :primary_key => "idprofessorturma", :force => true do |t|
1823
+ # t.integer "horasestagiodocente", :limit => 10, :precision => 10, :scale => 0
1824
+ # t.integer "horaspraticasdocente", :limit => 10, :precision => 10, :scale => 0
1825
+ # t.integer "horasteoricasdocente", :limit => 10, :precision => 10, :scale => 0
1826
+ # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
1827
+ # t.integer "idprofessor", :limit => 19, :precision => 19, :scale => 0, :null => false
1828
+ # t.datetime "dataalocacao"
1829
+ # end
1830
+ #
1831
+ # add_index "professorturma", ["idturma"], :name => "idx_idturma"
1832
+ # #
1833
+ # # create_table "provavel_formando", :primary_key => "idprovavelformando", :force => true do |t|
1834
+ # # t.string "ano", :null => false
1835
+ # # t.boolean "emformatura", :precision => 1, :scale => 0
1836
+ # # t.string "semestre", :null => false
1837
+ # # t.integer "idalunold", :limit => 19, :precision => 19, :scale => 0, :null => false
1838
+ # # end
1839
+ # #
1840
+ # # create_table "pub_categoriaorgao", :primary_key => "idcategoriaorgao", :force => true do |t|
1841
+ # # t.integer "codigo", :limit => 19, :precision => 19, :scale => 0
1842
+ # # t.string "descricao"
1843
+ # # end
1844
+ #
1845
+ # create_table "pub_cidade", :primary_key => "idcidade", :force => true do |t|
1846
+ # t.string "nome", :null => false
1847
+ # t.integer "estado_idestado", :limit => 19, :precision => 19, :scale => 0
1848
+ # end
1849
+ #
1850
+ # add_index "pub_cidade", ["\"ESTADO_IDESTADO\""], :name => "publico_cidade_estado_pk"
1851
+ # #
1852
+ # # create_table "pub_configuracaosistema", :primary_key => "idconfiguracaosistema", :force => true do |t|
1853
+ # # t.integer "quantidadeusuariosslave1", :limit => 19, :precision => 19, :scale => 0
1854
+ # # t.integer "quantidadeusuariosslave2", :limit => 19, :precision => 19, :scale => 0
1855
+ # # t.integer "quantidadeusuariosslave3", :limit => 19, :precision => 19, :scale => 0
1856
+ # # t.integer "quantidadeusuariosslave4", :limit => 19, :precision => 19, :scale => 0
1857
+ # # t.integer "quantidadeusuariosslave5", :limit => 19, :precision => 19, :scale => 0
1858
+ # # t.integer "quantidadeusuariosslave6", :limit => 19, :precision => 19, :scale => 0
1859
+ # # t.integer "quantidadeusuariosslave7", :limit => 19, :precision => 19, :scale => 0
1860
+ # # t.integer "quantidadeusuariosslave8", :limit => 19, :precision => 19, :scale => 0
1861
+ # # end
1862
+ # #
1863
+ # # create_table "pub_contausuario", :primary_key => "idcontausuario", :force => true do |t|
1864
+ # # t.boolean "permiteemviosms", :precision => 1, :scale => 0
1865
+ # # t.timestamp "dataatualizacaodadosdecontato", :limit => 6
1866
+ # # t.timestamp "dataatualizacaotelefoneemail", :limit => 6
1867
+ # # t.timestamp "dataultimoacesso", :limit => 6
1868
+ # # t.integer "ididentificacao", :limit => 19, :precision => 19, :scale => 0, :null => false
1869
+ # # end
1870
+ #
1871
+ # create_table "pub_estado", :primary_key => "idestado", :force => true do |t|
1872
+ # t.string "nome", :limit => 100, :null => false
1873
+ # t.string "sigla", :limit => 2, :null => false
1874
+ # t.integer "pais_idpais", :limit => 19, :precision => 19, :scale => 0
1875
+ # end
1876
+ #
1877
+ # add_index "pub_estado", ["\"PAIS_IDPAIS\""], :name => "publico_estado_pais_pk"
1878
+ # #
1879
+ # # create_table "pub_evento", :primary_key => "idevento", :force => true do |t|
1880
+ # # t.string "dados", :limit => 600
1881
+ # # t.timestamp "dataevento", :limit => 6, :null => false
1882
+ # # t.integer "ididentificacao", :limit => 19, :precision => 19, :scale => 0
1883
+ # # end
1884
+ # #
1885
+ # create_table "pub_funcionario", :primary_key => "ididentificador", :force => true do |t|
1886
+ # t.boolean "ativo", :precision => 1, :scale => 0, :null => false
1887
+ # t.string "siape"
1888
+ # end
1889
+ #
1890
+ # create_table "pub_identificacao", :primary_key => "ididentificacao", :force => true do |t|
1891
+ # t.boolean "ativo", :precision => 1, :scale => 0
1892
+ # t.integer "celular", :limit => 19, :precision => 19, :scale => 0
1893
+ # t.string "certificadoreservista"
1894
+ # t.string "cor"
1895
+ # t.string "cpf"
1896
+ # t.datetime "datanascimento"
1897
+ # t.integer "dddcelular", :limit => 19, :precision => 19, :scale => 0
1898
+ # t.integer "dddtelefone", :limit => 19, :precision => 19, :scale => 0
1899
+ # t.string "email"
1900
+ # t.string "enderecobairro"
1901
+ # t.integer "enderecocep", :limit => 19, :precision => 19, :scale => 0
1902
+ # t.string "enderecocomplemento"
1903
+ # t.integer "endereconumero", :limit => 19, :precision => 19, :scale => 0
1904
+ # t.string "enderecorua"
1905
+ # t.string "escolaridade"
1906
+ # t.string "estadocivil"
1907
+ # t.string "fatorrh"
1908
+ # t.string "identidade"
1909
+ # t.datetime "identidadedataemissao"
1910
+ # t.string "identidadeestrangeira"
1911
+ # t.string "identidadeestrangeiraorgao"
1912
+ # t.string "identidadeorgao"
1913
+ # t.string "iduff", :null => false
1914
+ # t.boolean "indicedeficienciaauditiva", :precision => 1, :scale => 0
1915
+ # t.boolean "indicedeficienciafisica", :precision => 1, :scale => 0
1916
+ # t.boolean "indicedeficienciavisual", :precision => 1, :scale => 0
1917
+ # t.boolean "deficienciaauditiva", :precision => 1, :scale => 0
1918
+ # t.boolean "deficienciabaixavisao", :precision => 1, :scale => 0
1919
+ # t.boolean "deficienciacegueira", :precision => 1, :scale => 0
1920
+ # t.boolean "deficienciadislexia", :precision => 1, :scale => 0
1921
+ # t.boolean "deficienciafisica", :precision => 1, :scale => 0
1922
+ # t.boolean "deficienciamultipla", :precision => 1, :scale => 0
1923
+ # t.boolean "deficienciasindromedeasperger", :precision => 1, :scale => 0
1924
+ # t.boolean "deficienciasurdez", :precision => 1, :scale => 0
1925
+ # t.boolean "deficienciasurdocegueira", :precision => 1, :scale => 0
1926
+ # t.string "nome", :null => false
1927
+ # t.string "nomemae"
1928
+ # t.string "nomepai"
1929
+ # t.string "senha"
1930
+ # t.string "senhasha1"
1931
+ # t.string "senhaverificacao"
1932
+ # t.string "sessaoeleitoral"
1933
+ # t.string "sexo"
1934
+ # t.integer "telefone", :limit => 19, :precision => 19, :scale => 0
1935
+ # t.string "tiposanguineo"
1936
+ # t.string "tituloeleitoral"
1937
+ # t.string "zonaeleitoral"
1938
+ # t.integer "enderecocidade_idcidade", :limit => 19, :precision => 19, :scale => 0
1939
+ # t.integer "nacionalidade_idpais", :limit => 19, :precision => 19, :scale => 0
1940
+ # t.integer "identidadeuf_idestado", :limit => 19, :precision => 19, :scale => 0
1941
+ # t.integer "naturalidade_idestado", :limit => 19, :precision => 19, :scale => 0
1942
+ # t.string "tokenrecuperacaosenha"
1943
+ # t.string "nomeabreviado", :limit => 50, :null => false
1944
+ # t.string "naturalidadeestrangeira", :limit => 50
1945
+ # t.string "iduffmail"
1946
+ # t.timestamp "dataultimaatualizacao", :limit => 6
1947
+ # t.string "foto_file_name"
1948
+ # t.string "foto_content_type"
1949
+ # t.integer "foto_file_size", :precision => 38, :scale => 0
1950
+ # t.datetime "foto_updated_at"
1951
+ # t.boolean "criado_no_google", :precision => 1, :scale => 0
1952
+ # t.float "enderecolatitude", :limit => 26
1953
+ # t.float "enderecolongitude", :limit => 26
1954
+ # t.string "identidadetipo"
1955
+ # end
1956
+ #
1957
+ # add_index "pub_identificacao", ["cpf"], :name => "sys_c0019152_uk_cpf", :unique => true
1958
+ # add_index "pub_identificacao", ["iduff"], :name => "sys_c0098583", :unique => true
1959
+ # add_index "pub_identificacao", ["iduffmail"], :name => "pub_identificacao_uk_id_email", :unique => true
1960
+ # add_index "pub_identificacao", ["nome"], :name => "pub_identificacao_index_nome"
1961
+ #
1962
+ # create_table "pub_identificador", :primary_key => "ididentificador", :force => true do |t|
1963
+ # t.integer "identificacao_ididentificacao", :limit => 19, :precision => 19, :scale => 0, :null => false
1964
+ # t.boolean "vinculadouff", :precision => 1, :scale => 0, :null => false
1965
+ # end
1966
+ #
1967
+ # create_table "pub_identificadorpapel", :primary_key => "ididentificadorpapel", :force => true do |t|
1968
+ # t.integer "idpapel", :limit => 19, :precision => 19, :scale => 0, :null => false
1969
+ # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
1970
+ # end
1971
+ #
1972
+ # add_index "pub_identificadorpapel", ["ididentificador", "idpapel"], :name => "sys_c0098593", :unique => true, :tablespace => "users"
1973
+ # add_index "pub_identificadorpapel", ["ididentificador"], :name => "pub_identpap_identificad_pk"
1974
+ #
1975
+ # create_table "pub_identificadorrecurso", :primary_key => "ididentificadorrecurso", :force => true do |t|
1976
+ # t.integer "idrecurso", :limit => 19, :precision => 19, :scale => 0, :null => false
1977
+ # t.integer "ididentificador", :limit => 19, :precision => 19, :scale => 0, :null => false
1978
+ # end
1979
+ #
1980
+ # add_index "pub_identificadorrecurso", ["ididentificador", "idrecurso"], :name => "sys_c0098598", :unique => true
1981
+ #
1982
+ # create_table "pub_instituicao", :primary_key => "idinstituicao", :force => true do |t|
1983
+ # t.string "nome", :limit => 100, :null => false
1984
+ # t.string "sigla", :limit => 20
1985
+ # t.integer "idcidade", :limit => 19, :precision => 19, :scale => 0
1986
+ # t.boolean "publica", :precision => 1, :scale => 0, :default => false
1987
+ # t.string "organizacaoacademica", :limit => 60
1988
+ # t.string "categoriaadministrativa", :limit => 60
1989
+ # end
1990
+ #
1991
+ # # Could not dump table "pub_mensagem" because of following StandardError
1992
+ # # Unknown type 'LONG' for column 'texto'
1993
+ #
1994
+ # create_table "pub_orgao", :primary_key => "idorgao", :force => true do |t|
1995
+ # t.integer "centrodecusto", :limit => 19, :precision => 19, :scale => 0
1996
+ # t.integer "codigouff", :limit => 19, :precision => 19, :scale => 0
1997
+ # t.datetime "datacriacao"
1998
+ # t.datetime "dataextincao"
1999
+ # t.string "descricao"
2000
+ # t.string "documentocriacao"
2001
+ # t.string "documentoextincao"
2002
+ # t.integer "estendido", :limit => 19, :precision => 19, :scale => 0
2003
+ # t.integer "idorgaosiorg", :limit => 19, :precision => 19, :scale => 0
2004
+ # t.integer "idorgaosiape", :limit => 19, :precision => 19, :scale => 0
2005
+ # t.integer "nivel", :limit => 19, :precision => 19, :scale => 0
2006
+ # t.string "sigla"
2007
+ # t.integer "uorg", :limit => 19, :precision => 19, :scale => 0
2008
+ # t.integer "idcategoria", :limit => 19, :precision => 19, :scale => 0
2009
+ # t.integer "idstatus", :limit => 19, :precision => 19, :scale => 0
2010
+ # t.integer "idtipo", :limit => 19, :precision => 19, :scale => 0
2011
+ # t.integer "idorgaopai", :limit => 19, :precision => 19, :scale => 0
2012
+ # t.integer "categoria", :limit => 19, :precision => 19, :scale => 0
2013
+ # t.integer "orgaopai", :limit => 19, :precision => 19, :scale => 0
2014
+ # t.integer "status", :limit => 19, :precision => 19, :scale => 0
2015
+ # t.integer "tipo", :limit => 19, :precision => 19, :scale => 0
2016
+ # end
2017
+ #
2018
+ # create_table "pub_pais", :primary_key => "idpais", :force => true do |t|
2019
+ # t.string "nome", :limit => 100, :null => false
2020
+ # t.string "sigla", :limit => 2, :null => false
2021
+ # t.string "nacionalidade", :limit => 50
2022
+ # t.integer "codigo", :limit => 19, :precision => 19, :scale => 0
2023
+ # end
2024
+ #
2025
+ # add_index "pub_pais", ["nome"], :name => "sys_c0098616", :unique => true
2026
+ # add_index "pub_pais", ["sigla"], :name => "sys_c0098617", :unique => true
2027
+ #
2028
+ # create_table "pub_papel", :primary_key => "idpapel", :force => true do |t|
2029
+ # t.boolean "ativo", :precision => 1, :scale => 0, :null => false
2030
+ # t.string "descricao"
2031
+ # t.string "nome", :null => false
2032
+ # t.integer "tipo", :limit => 10, :precision => 10, :scale => 0
2033
+ # end
2034
+ #
2035
+ # add_index "pub_papel", ["nome"], :name => "sys_c0098622", :unique => true
2036
+ #
2037
+ # create_table "pub_papelrecurso", :primary_key => "idpapelrecurso", :force => true do |t|
2038
+ # t.integer "idpapel", :limit => 19, :precision => 19, :scale => 0, :null => false
2039
+ # t.integer "idrecurso", :limit => 19, :precision => 19, :scale => 0, :null => false
2040
+ # end
2041
+ #
2042
+ # create_table "pub_recurso", :primary_key => "idrecurso", :force => true do |t|
2043
+ # t.boolean "ativo", :precision => 1, :scale => 0, :null => false
2044
+ # t.string "label", :null => false
2045
+ # t.string "nome", :null => false
2046
+ # t.string "pagina", :null => false
2047
+ # t.boolean "recursoprimario", :precision => 1, :scale => 0, :null => false
2048
+ # t.string "validador"
2049
+ # t.string "agrupamento", :limit => 50
2050
+ # end
2051
+ #
2052
+ # add_index "pub_recurso", ["nome"], :name => "sys_c0098634", :unique => true
2053
+ # #
2054
+ # # create_table "pub_statusorgao", :primary_key => "idstatusorgao", :force => true do |t|
2055
+ # # t.string "descricao"
2056
+ # # end
2057
+ # #
2058
+ # create_table "pub_terceirizado", :primary_key => "ididentificador", :force => true do |t|
2059
+ # t.boolean "ativo", :precision => 1, :scale => 0, :null => false
2060
+ # t.datetime "datainicio"
2061
+ # t.datetime "datatermino"
2062
+ # end
2063
+ #
2064
+ # create_table "pub_tipoorgao", :primary_key => "idtipoorgao", :force => true do |t|
2065
+ # t.string "descricao"
2066
+ # end
2067
+ # #
2068
+ # # create_table "pub_tokens", :force => true do |t|
2069
+ # # t.string "identificador", :null => false
2070
+ # # t.string "iduff", :null => false
2071
+ # # t.string "ip", :limit => 20, :null => false
2072
+ # # t.datetime "created_at"
2073
+ # # t.datetime "updated_at"
2074
+ # # end
2075
+ # #
2076
+ # # create_table "reconhecimentocurso", :primary_key => "idreconhecimento", :force => true do |t|
2077
+ # # t.string "reconhecimento", :limit => 100
2078
+ # # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
2079
+ # # t.datetime "datainsercao"
2080
+ # # t.string "atoadministrativo", :limit => 20
2081
+ # # t.integer "numero", :limit => 10, :precision => 10, :scale => 0
2082
+ # # t.datetime "datareconhecimento"
2083
+ # # t.datetime "datadiariooficial"
2084
+ # # t.boolean "renovacao", :precision => 1, :scale => 0
2085
+ # # end
2086
+ # #
2087
+ # # create_table "relatorios", :force => true do |t|
2088
+ # # t.datetime "created_at"
2089
+ # # t.datetime "updated_at"
2090
+ # # end
2091
+ #
2092
+ # create_table "situacaoaluno", :primary_key => "idsituacaoaluno", :force => true do |t|
2093
+ # t.integer "codigo", :limit => 19, :precision => 19, :scale => 0, :null => false
2094
+ # t.string "descricao", :null => false
2095
+ # t.string "descricaoabreviada"
2096
+ # t.string "descricaohistorico"
2097
+ # end
2098
+ #
2099
+ # create_table "statusaluno", :primary_key => "idstatusaluno", :force => true do |t|
2100
+ # t.integer "codigo", :limit => 19, :precision => 19, :scale => 0, :null => false
2101
+ # t.string "descricao", :null => false
2102
+ # t.string "descricaoabreviada"
2103
+ # t.string "descricaohistorico"
2104
+ # end
2105
+ #
2106
+ # create_table "statusalunoturma", :primary_key => "idstatus", :force => true do |t|
2107
+ # t.string "descricao", :limit => 100
2108
+ # t.string "resumo", :limit => 50
2109
+ # end
2110
+ #
2111
+ # create_table "topicosvariaveis", :primary_key => "idtopicovariavel", :force => true do |t|
2112
+ # t.integer "iddisciplina", :limit => 19, :precision =>19, :scale => 0
2113
+ # t.string "descricao", :limit => 100
2114
+ # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0
2115
+ # end
2116
+ #
2117
+ # create_table "caracteristica_disciplina", :primary_key => "idcaracteristicadisciplina", :force => true do |t|
2118
+ # t.string "descricao", :null => false
2119
+ # t.string "sigla", :limit => 2, :null => false
2120
+ # end
2121
+ #
2122
+ # create_table "turma", :primary_key => "idturma", :force => true do |t|
2123
+ # t.string "codigo"
2124
+ # t.integer "numerosemanas", :limit => 10, :precision => 10, :scale => 0
2125
+ # t.integer "semanafim", :limit => 10, :precision => 10, :scale => 0
2126
+ # t.integer "semanainicio", :limit => 10, :precision => 10, :scale => 0
2127
+ # t.integer "status", :limit => 10, :precision => 10, :scale => 0
2128
+ # t.integer "tipo", :limit => 10, :precision => 10, :scale => 0
2129
+ # t.integer "totalcandidatados", :limit => 10, :precision => 10, :scale => 0
2130
+ # t.integer "modulo", :limit => 10, :precision => 10, :scale => 0
2131
+ # t.integer "vagasregular", :limit => 10, :precision => 10, :scale => 0
2132
+ # t.integer "vagasregularutilizadas", :limit => 10, :precision => 10, :scale => 0
2133
+ # t.integer "vagasvestibulando", :limit => 10, :precision => 10, :scale => 0
2134
+ # t.integer "vagasvestibulandoutilizadas", :limit => 10, :precision => 10, :scale => 0
2135
+ # t.integer "idturno", :limit => 19, :precision => 19, :scale => 0
2136
+ # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0, :null => false
2137
+ # t.integer "idturmateorica", :limit => 19, :precision => 19, :scale => 0
2138
+ # t.integer "iddisciplina", :limit => 19, :precision => 19, :scale => 0, :null => false
2139
+ # t.timestamp "dataultimaatualizacao", :limit => 6
2140
+ # t.string "nomeultimaatualizacao"
2141
+ # t.boolean "podelancarnota", :precision => 1, :scale => 0, :default => false
2142
+ # t.integer "anosemestre", :limit => 5, :precision => 5, :scale => 0, :null => false
2143
+ # t.string "observacao"
2144
+ # end
2145
+ #
2146
+ # add_index "turma", ["iddisciplina"], :name => "turma_iddisciplina"
2147
+ #
2148
+ # create_table "turno", :primary_key => "idturno", :force => true do |t|
2149
+ # t.string "descricao"
2150
+ # t.string "nome", :null => false
2151
+ # t.string "sigla", :limit => 2, :null => false
2152
+ # t.string "nomemec"
2153
+ # end
2154
+ #
2155
+ # add_index "turno", ["nome"], :name => "sys_c0098681", :unique => true
2156
+ # add_index "turno", ["sigla"], :name => "sys_c0098682", :unique => true
2157
+ #
2158
+ # create_table "turnoscurso", :primary_key => "idturnocurso", :force => true do |t|
2159
+ # t.integer "ano", :limit => 4, :precision => 4, :scale => 0, :null => false
2160
+ # t.integer "iddesdobramento", :limit => 19, :precision => 19, :scale => 0
2161
+ # t.integer "idturno", :limit => 19, :precision => 19, :scale => 0, :null => false
2162
+ # t.integer "idlocalidade", :limit => 19, :precision => 19, :scale => 0, :null => false
2163
+ # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
2164
+ # t.integer "vagas", :limit => 4, :precision => 4, :scale => 0
2165
+ # end
2166
+ #
2167
+ # create_table "unidade", :primary_key => "idunidade", :force => true do |t|
2168
+ # t.integer "idorgao", :limit => 19, :precision => 19, :scale => 0, :null => false
2169
+ # end
2170
+ #
2171
+ # create_table "vagaturmacurso", :primary_key => "idvagaturmacurso", :force => true do |t|
2172
+ # t.integer "totalcandidatos", :limit => 10, :precision => 10, :scale => 0
2173
+ # t.integer "vagasregular", :limit => 10, :precision => 10, :scale => 0
2174
+ # t.integer "vagasregularutilizadas", :limit => 10, :precision => 10, :scale => 0
2175
+ # t.integer "vagasvestibulando", :limit => 10, :precision => 10, :scale => 0
2176
+ # t.integer "vagasvestibulandoutilizadas", :limit => 10, :precision => 10, :scale => 0
2177
+ # t.integer "idcurso", :limit => 19, :precision => 19, :scale => 0, :null => false
2178
+ # t.integer "idturma", :limit => 19, :precision => 19, :scale => 0, :null => false
2179
+ # t.boolean "recebepontuacaoturno", :precision => 1, :scale => 0
2180
+ # t.boolean "ordenacaomanual", :precision => 1, :scale => 0
2181
+ # end
2182
+ #
2183
+ # # create_table "HISTORICO", :id => false, :force => true do |t|
2184
+ # # create_table "SIAD_TESTE.HISTORICO", :id => false, :force => true do |t|
2185
+ # create_table "HISTORICO", :primary_key => "idhistorico", :force => true do |t|
2186
+ # t.integer "codgrau"
2187
+ # t.integer "codcurso"
2188
+ # t.integer "anomat"
2189
+ # t.integer "iddisciplina"
2190
+ # t.integer "idaluno"
2191
+ # #t.string "status"
2192
+ # t.integer "idtopicovariavel"
2193
+ # t.integer "codingresso"
2194
+ # t.integer "ordemmat"
2195
+ # t.integer "anosemestre"
2196
+ # t.integer "codidentificador"
2197
+ # t.string "coddisciplina"
2198
+ # t.string "codturma"
2199
+ # t.integer "numordem"
2200
+ # t.string "nota"
2201
+ # t.string "notavs"
2202
+ # t.string "flagvs"
2203
+ # t.string "frequencia"
2204
+ # t.integer "numhorasdisc"
2205
+ # t.string "codsitdisciplina"
2206
+ # t.string "matricula"
2207
+ # t.integer "anosemestre"
2208
+ # end
2209
+ #
2210
+ # #create_table "vagaturmacurso", :primary_key => "idvagaturmacurso", :force => true do |t|
2211
+ # create_table "versions", :force => true do |t|
2212
+ # t.string "item_id"
2213
+ # t.string "item_type"
2214
+ # t.string "event"
2215
+ # t.string "object", :limit => 4000
2216
+ # t.string "whodunnit"
2217
+ # t.string "created_at"
2218
+ # end
2219
+ #
2220
+ # # create_table "notasvestibular", :id => false, :force => true do |t|
2221
+ # # create_table "SIAD_TESTE.notasvestibular", :id => false, :force => true do |t|
2222
+ # create_table "notasvestibular", :id => false, :force => true do |t|
2223
+ # t.integer "idnotasvestibular"
2224
+ # t.float "codgrau"
2225
+ # t.float "codcurso"
2226
+ # t.float "anomat"
2227
+ # t.integer "codingresso"
2228
+ # t.float "ordemmat"
2229
+ # t.string "codetapa"
2230
+ # t.float "tipoprova"
2231
+ # t.string "numpontos"
2232
+ # t.string "lingua"
2233
+ # t.string "matricula"
2234
+ # end
2235
+ #
2236
+ # add_index "notasvestibular", ["codgrau", "codetapa", "tipoprova"], :name => "academico_notasvestibular_uk1", :unique => true
2237
+ #
2238
+ # create_table "provavestib", :id => false, :force => true do |t|
2239
+ # t.integer "codgrau"
2240
+ # t.string "codetapa"
2241
+ # t.integer "tipoprova"
2242
+ # t.string "descprova"
2243
+ # end
2244
+ #
2245
+ # # create_table "POLO", :id => false, :force => true do |t|
2246
+ # # create_table "SIAD_TESTE.POLO", :id => false, :force => true do |t|
2247
+ # create_table "POLO", :id => false, :force => true do |t|
2248
+ # t.integer "codgrau"
2249
+ # t.string "codpolo"
2250
+ # t.string "descpolo"
2251
+ # t.integer "cpolo"
2252
+ # end
2253
+ #
2254
+ # # create_table "MATRICULAALUNO", :id => false, :force => true do |t|
2255
+ # # create_table "SIAD_TESTE.MATRICULAALUNO", :id => false, :force => true do |t|
2256
+ # create_table "MATRICULAALUNO", :id => false, :force => true do |t|
2257
+ # t.integer "ANOMAT"
2258
+ # t.integer "ANOSEMDESV"
2259
+ # t.string "ANOSEMEXAMENAC"
2260
+ # t.string "ANOSEMMEDIO"
2261
+ # t.integer "ANOSEMTRANC"
2262
+ # t.string "BONUS"
2263
+ # t.integer "CODBOLSA"
2264
+ # t.integer "CODCURSO"
2265
+ # t.integer "CODDELECAO"
2266
+ # t.string "CODENADE"
2267
+ # t.string "CODEXAMENAC"
2268
+ # t.integer "CODFORMAING"
2269
+ # t.integer "CODGRAU"
2270
+ # t.integer "CODINGRESSO"
2271
+ # t.integer "CODINTERNO"
2272
+ # t.integer "CODLOCALIDADE"
2273
+ # t.integer "CODPLANO"
2274
+ # t.string "CODPOLO"
2275
+ # t.integer "CODSEQMAT"
2276
+ # t.integer "CODSITUACAO"
2277
+ # t.integer "CODTURNO"
2278
+ # t.integer "CODTURNOREAL"
2279
+ # t.integer "COEFGERAL"
2280
+ # t.datetime "DATAENADE"
2281
+ # t.datetime "DATAFIMINTERNATO"
2282
+ # t.datetime "DATAINIINTERNATO"
2283
+ # t.datetime "DATAMAT"
2284
+ # t.datetime "DATAPROCESSOALUNO"
2285
+ # t.string "DESTINOALUNO"
2286
+ # t.string "FLAGCARTEIRA"
2287
+ # t.string "FLAGCURRICULO"
2288
+ # t.string "FLAGPERMVINCULO"
2289
+ # t.string "FLAGPLANO"
2290
+ # t.string "INDMONITORIA"
2291
+ # t.integer "INDTURNO"
2292
+ # t.integer "INDTURNOREAL"
2293
+ # t.string "MATRICULA"
2294
+ # t.string "NUMINSCRICAOCOSEAC"
2295
+ # t.integer "NUMSEMTRANC"
2296
+ # t.integer "NUMSEMTRANCTOTAL"
2297
+ # t.integer "NUMTOTCARGAHOR"
2298
+ # t.integer "NUMTOTCRED"
2299
+ # t.string "OFICIOALUNO"
2300
+ # t.integer "ORDEMMAT"
2301
+ # t.string "ORIGEMALUNO"
2302
+ # t.string "RESERVAVAGA"
2303
+ # t.integer "SEMINGRESSO"
2304
+ # t.integer "TEMPOOUTRAIES"
2305
+ # end
2306
+ #
2307
+ # add_index "vagaturmacurso", ["idcurso", "idturma"], :name => "academico_vagaturmacurso_uk1", :unique => true
2308
+ # add_index "vagaturmacurso", ["idcurso"], :name => "vaga_curso"
2309
+ # #
2310
+ # # add_foreign_key "academico_alunoturma2", "aluno", :column => "idaluno", :primary_key => nil, :name => "academico_alunoturma_fk_aluno2"
2311
+ # # add_foreign_key "academico_alunoturma2", "turma", :column => "idturma", :primary_key => nil, :name => "academico_alunoturma_fk_turma2"
2312
+ # #
2313
+ # # add_foreign_key "academico_alunoturma20091", "aluno", :column => "aluno_ididentificador", :primary_key => nil, :name => "fk1722a991195f401a"
2314
+ # # add_foreign_key "academico_alunoturma20091", "turma", :column => "turma_idturma", :primary_key => nil, :name => "fk1722a991474008c6"
2315
+ # #
2316
+ # # add_foreign_key "acompalunoturma", "alunoturma", :column => "idalunoturma", :primary_key => nil, :name => "academico_acomalunoturma_fk_at"
2317
+ # #
2318
+ # # add_foreign_key "acompanhamentoaluno", "aluno", :column => "idaluno", :primary_key => nil, :name => "acompanhamentoaluno_aluno_fk1"
2319
+ # # add_foreign_key "acompanhamentoaluno", "cur_curriculo", :column => "idcurriculo1", :primary_key => nil, :name => "acompanhamentoaluno_cur_c_fk1"
2320
+ # # add_foreign_key "acompanhamentoaluno", "cur_curriculo", :column => "idcurriculo2", :primary_key => nil, :name => "acompanhamentoaluno_cur_c_fk2"
2321
+ # # add_foreign_key "acompanhamentoaluno", "cur_curriculo", :column => "idcurriculo3", :primary_key => nil, :name => "acompanhamentoaluno_cur_c_fk3"
2322
+ # # add_foreign_key "acompanhamentoaluno", "localidade", :column => "idlocalidade", :primary_key => nil, :name => "acompanhamentoaluno_local_fk1"
2323
+ # # add_foreign_key "acompanhamentoaluno", "situacaoaluno", :column => "idsituacao", :primary_key => nil, :name => "acompanhamentoaluno_situa_fk1"
2324
+ # # add_foreign_key "acompanhamentoaluno", "statusaluno", :column => "idstatus", :primary_key => nil, :name => "acompanhamentoaluno_statu_fk1"
2325
+ # # add_foreign_key "acompanhamentoaluno", "turno", :column => "idturno", :primary_key => nil, :name => "acompanhamentoaluno_turno_fk1"
2326
+ # #
2327
+ # # add_foreign_key "acompdesvinccompermanencia", "aluno", :column => "idalunoantigo", :primary_key => nil, :name => "acompdesvinccompermanenci_fk1"
2328
+ # # add_foreign_key "acompdesvinccompermanencia", "aluno", :column => "idalunonovo", :primary_key => nil, :name => "acompdesvinccompermanenci_fk2"
2329
+ # #
2330
+ # # add_foreign_key "administrador", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "fk2baa1f0645e42816"
2331
+ # #
2332
+ # # add_foreign_key "aluno", "curso", :column => "idcurso", :primary_key => nil, :name => "fk1b11b6344424356b"
2333
+ # # add_foreign_key "aluno", "formaingresso", :column => "idformaingresso", :primary_key => nil, :name => "fk1b11b634621a9de4"
2334
+ # # add_foreign_key "aluno", "polo", :column => "idpolo", :primary_key => nil, :name => "idpolo_fk"
2335
+ # # add_foreign_key "aluno", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "fk1b11b63445e42816"
2336
+ # # add_foreign_key "aluno", "pub_instituicao", :column => "idinstituicaoorigem", :primary_key => nil, :name => "academico_aluno_publico_i_fk1"
2337
+ # # add_foreign_key "aluno", "situacaoaluno", :column => "idsituacaoaluno", :primary_key => nil, :name => "fk1b11b6347df7e166"
2338
+ # # add_foreign_key "aluno", "statusaluno", :column => "idstatusaluno", :primary_key => nil, :name => "fk1b11b634656b8b1b"
2339
+ # # add_foreign_key "aluno", "turno", :column => "idturnovestibular", :primary_key => nil, :name => "fk1b11b634f21457be"
2340
+ # #
2341
+ # # add_foreign_key "alunocurriculo", "aluno", :column => "idaluno", :primary_key => nil, :name => "alunocurriculo_aluno_fk"
2342
+ # # add_foreign_key "alunocurriculo", "cur_curriculo", :column => "idcurriculo", :primary_key => nil, :name => "alunocurriculo_curriculo_fk"
2343
+ # #
2344
+ # # add_foreign_key "alunocurriculointegralizado", "alunocurriculo", :column => "idalunocurriculo", :primary_key => nil, :name => "alunocurriculointegraliza_fk1"
2345
+ # #
2346
+ # # add_foreign_key "alunorematriculado", "aluno", :column => "idalunocancelado", :primary_key => nil, :name => "fk2df9976b98e8d73e"
2347
+ # # add_foreign_key "alunorematriculado", "aluno", :column => "idalunonovo", :primary_key => nil, :name => "fk2df9976bae024ae6"
2348
+ # # add_foreign_key "alunorematriculado", "statusaluno", :column => "idstatusalunocancelado", :primary_key => nil, :name => "fk2df9976bc7a05dde"
2349
+ # #
2350
+ # # add_foreign_key "alunorevinculado", "aluno", :column => "idaluno", :primary_key => nil, :name => "fk_ac_idalunorevinculado"
2351
+ # # add_foreign_key "alunorevinculado", "aluno", :column => "idalunoantigo", :primary_key => nil, :name => "fk_ac_aluno_idalunoantigo"
2352
+ # #
2353
+ # # add_foreign_key "alunotransfint", "aluno", :column => "alunocancelado", :primary_key => nil, :name => "fk_idalunocancelado_alunotran"
2354
+ # # add_foreign_key "alunotransfint", "aluno", :column => "idaluno", :primary_key => nil, :name => "fk_idaluno_alunotran"
2355
+ # #
2356
+ # # add_foreign_key "alunoturma", "aluno", :column => "idaluno", :primary_key => nil, :name => "academico_alunoturma_fk_aluno"
2357
+ # # add_foreign_key "alunoturma", "planoinscricao", :column => "idplanoinscricao", :primary_key => nil, :name => "academico_alunoturma_acad_fk1"
2358
+ # # add_foreign_key "alunoturma", "turma", :column => "idturma", :primary_key => nil, :name => "academico_alunoturma_fk_turma"
2359
+ # #
2360
+ # # add_foreign_key "autoavaliacaoprofessor", "professor", :column => "ididentificador", :primary_key => nil, :name => "fkprofessor"
2361
+ # #
2362
+ # # add_foreign_key "avaliacaodisciplinaaluno", "turma", :column => "idturma", :primary_key => nil, :name => "fk_turma"
2363
+ # #
2364
+ # # add_foreign_key "avaliacaoinstaluno", "aluno", :column => "ididentificador", :primary_key => nil, :name => "fk8e091fea76cd5b6e"
2365
+ # #
2366
+ # # add_foreign_key "avaliacaoinstprofessor", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "fk_professor"
2367
+ # #
2368
+ # # add_foreign_key "avisocurso", "curso", :column => "idcurso", :primary_key => nil, :name => "fk_avisocurso"
2369
+ # #
2370
+ # # add_foreign_key "bkp_avaliacaodisc", "disciplina", :column => "iddisciplina", :primary_key => nil, :name => "fk_disciplina"
2371
+ # #
2372
+ # # add_foreign_key "boletim", "alunoturma", :column => "idalunoturma", :primary_key => nil, :name => "fk_alunoturma_id"
2373
+ # #
2374
+ # # add_foreign_key "coordenacao", "curso", :column => "idcurso", :primary_key => nil, :name => "coordenacao_curso_fk"
2375
+ # #
2376
+ # # add_foreign_key "coordenadorcurso", "coordenacao", :column => "idcoordenacao", :primary_key => nil, :name => "fkf696418f15099eb2"
2377
+ # # add_foreign_key "coordenadorcurso", "curso", :column => "idcurso", :primary_key => nil, :name => "fkf696418fa236ea0e"
2378
+ # # add_foreign_key "coordenadorcurso", "pub_funcionario", :column => "idfuncionario", :primary_key => nil, :name => "fkf696418ff31d6208"
2379
+ # # add_foreign_key "coordenadorcurso", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "fkf696418f45e42816"
2380
+ # #
2381
+ # # add_foreign_key "coordidentificador", "coordenacao", :column => "idcoordenacao", :primary_key => nil, :name => "fkbd616b2fc9f5c633"
2382
+ # # add_foreign_key "coordidentificador", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "fkbd616b2f70647357"
2383
+ # #
2384
+ # # add_foreign_key "cur_curriculo", "cur_versaocurriculo", :column => "idversaocurriculo", :primary_key => nil, :name => "fkdd5a5f2d765ed2d2"
2385
+ # # add_foreign_key "cur_curriculo", "desdobramento", :column => "iddesdobramento", :primary_key => nil, :name => "fk6991d7352248f7d0"
2386
+ # #
2387
+ # # add_foreign_key "cur_disciplinacurriculo", "cur_curriculo", :column => "idcurriculo", :primary_key => nil, :name => "fk1ea3ae09ecd116f1"
2388
+ # # add_foreign_key "cur_disciplinacurriculo", "cur_tipodisciplinacurr", :column => "idtipodisciplinacurriculo", :primary_key => nil, :name => "fk1ea3ae09698fb875"
2389
+ # # add_foreign_key "cur_disciplinacurriculo", "cur_versaocurriculo", :column => "idversaocurriculo", :primary_key => nil, :name => "cur_disciplinacurriculo_c_fk1"
2390
+ # # add_foreign_key "cur_disciplinacurriculo", "disciplina", :column => "iddisciplina", :primary_key => nil, :name => "fk1ea3ae094da7c7df"
2391
+ # #
2392
+ # # add_foreign_key "cur_equivalencia", "cur_versaocurriculo", :column => "idversaocurriculo", :primary_key => nil, :name => "cur_equivalencia_cur_vers_fk1"
2393
+ # #
2394
+ # # add_foreign_key "cur_equivdisccurriculo", "cur_disciplinacurriculo", :column => "iddisciplinacurriculo", :primary_key => nil, :name => "fk_dc_equivalencia"
2395
+ # # add_foreign_key "cur_equivdisccurriculo", "cur_equivalencia", :column => "idequivalencia", :primary_key => nil, :name => "fk_equivalencia_dc"
2396
+ # #
2397
+ # # add_foreign_key "cur_equivdisciplina", "cur_equivalencia", :column => "idequivalencia", :primary_key => nil, :name => "fk_equivalencia"
2398
+ # # add_foreign_key "cur_equivdisciplina", "disciplina", :column => "iddisciplina", :primary_key => nil, :name => "fk_disciplina_eq"
2399
+ # #
2400
+ # # add_foreign_key "cur_requisito", "cur_disciplinacurriculo", :column => "iddisciplinacurricculo", :primary_key => nil, :name => "fk6bc0f2cc797e9998"
2401
+ # # add_foreign_key "cur_requisito", "cur_disciplinacurriculo", :column => "iddisciplinacurricrequisito", :primary_key => nil, :name => "fk6bc0f2cc86a3a882"
2402
+ # # add_foreign_key "cur_requisito", "cur_versaocurriculo", :column => "idversaocurriculo", :primary_key => nil, :name => "cur_requisito_cur_versaoc_fk1"
2403
+ # #
2404
+ # # add_foreign_key "cur_versaocurriculo", "cur_curriculo", :column => "idcurriculo", :primary_key => nil, :name => "fk_curriculo"
2405
+ # # add_foreign_key "cur_versaocurriculo", "pub_identificacao", :column => "ididentcriacao", :primary_key => nil, :name => "fk2877a6aff8392f17"
2406
+ # # add_foreign_key "cur_versaocurriculo", "pub_identificacao", :column => "ididentultimaatualizacao", :primary_key => nil, :name => "fk2877a6afd81aabdb"
2407
+ # #
2408
+ # # add_foreign_key "curso", "grau", :column => "grau_idgrau", :primary_key => nil, :name => "fk1b31f1e5cdb29308"
2409
+ # # add_foreign_key "curso", "grupodeslocamento", :column => "idgrupodesloc", :name => "fk_grupodesloc"
2410
+ # # add_foreign_key "curso", "localidade", :column => "idlocalidadeprincipal", :primary_key => nil, :name => "curso_localidade_fk"
2411
+ # # add_foreign_key "curso", "unidade", :column => "unidade_idunidade", :primary_key => nil, :name => "fk1b31f1e5ee0c3461"
2412
+ # #
2413
+ # # add_foreign_key "cursolivro", "curso", :column => "idcurso", :primary_key => nil, :name => "cursolivro_curso_fk1"
2414
+ # # add_foreign_key "cursolivro", "dip_livro", :column => "idlivro", :primary_key => nil, :name => "cursolivro_dip_livro_fk1"
2415
+ # #
2416
+ # # add_foreign_key "cursolocalidade", "coordenacao", :column => "idcoordenacao", :primary_key => nil, :name => "cursolocalidade_coordenacao_fk"
2417
+ # # add_foreign_key "cursolocalidade", "curso", :column => "idcurso", :primary_key => nil, :name => "cursolocalidade_curso_fk"
2418
+ # # add_foreign_key "cursolocalidade", "localidade", :column => "idlocalidade", :primary_key => nil, :name => "cursolocalidade_localidade_fk"
2419
+ # #
2420
+ # # add_foreign_key "cursoturno", "curso", :column => "idcurso", :primary_key => nil, :name => "cursoturno_curso_fk"
2421
+ # # add_foreign_key "cursoturno", "turno", :column => "idturno", :primary_key => nil, :name => "cursoturno_turno_fk"
2422
+ # #
2423
+ # # add_foreign_key "declaracao", "aluno", :column => "codigoaluno", :primary_key => nil, :name => "fok_aluno"
2424
+ # # add_foreign_key "declaracao", "pub_identificador", :column => "idresponsavel", :primary_key => nil, :name => "fk_identificador"
2425
+ # #
2426
+ # # add_foreign_key "desdobramento", "curso", :column => "curso", :primary_key => nil, :name => "fk1e573ac64523fe49"
2427
+ # #
2428
+ # # add_foreign_key "desistenciavaga", "aluno", :column => "idaluno", :primary_key => nil, :name => "fk40bce108a1f672ac"
2429
+ # #
2430
+ # # add_foreign_key "diario", "alunoturma", :column => "idalunoturma", :primary_key => nil, :name => "fk_alunoturma"
2431
+ # #
2432
+ # # add_foreign_key "dip_alunodiploma", "aluno", :column => "idaluno", :primary_key => nil, :name => "fk89c9a5d47f408c54"
2433
+ # # add_foreign_key "dip_alunodiploma", "dip_diploma", :column => "iddiploma", :primary_key => nil, :name => "fk89c9a5d43af333b1"
2434
+ # #
2435
+ # # add_foreign_key "dip_alunoformatura", "alunocurriculo", :column => "idalunocurriculo", :primary_key => nil, :name => "dip_alunoformatura_alunoc_fk1"
2436
+ # # add_foreign_key "dip_alunoformatura", "dip_formatura", :column => "idformatura", :primary_key => nil, :name => "fk4086f9ff5013fdc7"
2437
+ # #
2438
+ # # add_foreign_key "dip_ata", "dip_formatura", :column => "idformatura", :primary_key => nil, :name => "fkbbbc36315013fdc7"
2439
+ # #
2440
+ # # add_foreign_key "dip_diploma", "alunocurriculo", :column => "idalunocurriculo", :primary_key => nil, :name => "dip_diploma_alunocurricul_fk1"
2441
+ # # add_foreign_key "dip_diploma", "dip_dataconclusao", :column => "iddataconclusao", :primary_key => nil, :name => "fk6573f85858b18a7"
2442
+ # # add_foreign_key "dip_diploma", "dip_formatura", :column => "idformatura", :primary_key => nil, :name => "fk6573f855013fdc7"
2443
+ # # add_foreign_key "dip_diploma", "dip_pagina", :column => "idpagina", :primary_key => nil, :name => "fk6573f855b7dc47f"
2444
+ # # add_foreign_key "dip_diploma", "reconhecimentocurso", :column => "idreconhecimento", :primary_key => nil, :name => "dip_diploma_reconheciment_fk1"
2445
+ # #
2446
+ # # add_foreign_key "dip_formatura", "curso", :column => "curso_idcurso", :primary_key => nil, :name => "fkd014eb704424356b"
2447
+ # # add_foreign_key "dip_formatura", "dip_ata", :column => "idata", :primary_key => nil, :name => "dip_formatura_dip_ata_fk1"
2448
+ # # add_foreign_key "dip_formatura", "pub_funcionario", :column => "idfuncionario", :primary_key => nil, :name => "fkd014eb70663c5faa"
2449
+ # #
2450
+ # # add_foreign_key "dip_pagina", "dip_livro", :column => "idlivro", :primary_key => nil, :name => "fkbf7950365a34d59"
2451
+ # #
2452
+ # # add_foreign_key "dip_viadiploma", "dip_diploma", :column => "iddiploma", :primary_key => nil, :name => "dip_viadiploma_dip_diplom_fk1"
2453
+ # #
2454
+ # # add_foreign_key "disciplina", "caracteristica_disciplina", :column => "idcaracteristicadisciplina", :primary_key => nil, :name => "disciplina_caracteristica_fk"
2455
+ # # add_foreign_key "disciplina", "coordenacao", :column => "cod_coordenacao", :primary_key => nil, :name => "fk18d40fc3f506c666"
2456
+ # # add_foreign_key "disciplina", "departamento", :column => "cod_departamento", :primary_key => nil, :name => "fk18d40fc3b565c13e"
2457
+ # # add_foreign_key "disciplina", "disciplina", :column => "iddisciplinabase", :primary_key => nil, :name => "disciplina_base_fk1"
2458
+ # # add_foreign_key "disciplina", "disciplina", :column => "iddisciplinaoriginada", :primary_key => nil, :name => "fk_iddisciplinaoriginada"
2459
+ # # add_foreign_key "disciplina", "ementa", :column => "idementa", :primary_key => nil, :name => "fk_ementa"
2460
+ # # add_foreign_key "disciplina", "grau", :column => "idgrau", :primary_key => nil, :name => "fk_grau"
2461
+ # # add_foreign_key "disciplina", "materia", :column => "cod_materia", :primary_key => nil, :name => "fk18d40fc361985cd4"
2462
+ # # add_foreign_key "disciplina", "motivodesativacao", :column => "cod_motivodesativacao", :primary_key => nil, :name => "fk18d40fc341b9004e"
2463
+ # # add_foreign_key "disciplina", "pub_identificacao", :column => "ididentcriacao", :primary_key => nil, :name => "fk_ididentcriacao"
2464
+ # # add_foreign_key "disciplina", "pub_identificacao", :column => "ididentultimaatualizacao", :primary_key => nil, :name => "fk_ididentultimaatualizacao"
2465
+ # #
2466
+ # # add_foreign_key "disciplinacurriculomigracao", "disciplinamigracao", :column => "iddisciplinamigracao", :primary_key => nil, :name => "fk26eb3da1e812590"
2467
+ # #
2468
+ # # add_foreign_key "disciplinamigracao", "disciplina", :column => "iddisciplina", :primary_key => nil, :name => "fka150f43e2d263c2"
2469
+ # # add_foreign_key "disciplinamigracao", "migracaodisciplinas", :column => "idmigracaodisciplinas", :primary_key => nil, :name => "fka150f43d6f6ced6"
2470
+ # #
2471
+ # # add_foreign_key "ementa", "disciplina", :column => "iddisciplina", :primary_key => nil, :name => "fkb2890d7ee2d263c2"
2472
+ # # add_foreign_key "ementa", "turma", :column => "idturma", :primary_key => nil, :name => "fkb2890d7ea41607a0"
2473
+ # #
2474
+ # # add_foreign_key "formaingresso", "ingresso", :column => "idingresso", :primary_key => nil, :name => "fk3c52dbc0e8b9a81e"
2475
+ # #
2476
+ # # add_foreign_key "historico", "aluno", :column => "fk_aluno", :primary_key => nil, :name => "fka90504b9195f401a"
2477
+ # # add_foreign_key "historico", "disciplina", :column => "fk_disciplina", :primary_key => nil, :name => "fka90504b9e27b21b5"
2478
+ # # add_foreign_key "historico", "turma", :column => "turma_idturma", :primary_key => nil, :name => "fka90504b9474008c6"
2479
+ # #
2480
+ # # add_foreign_key "horarioturma", "turma", :column => "idturma", :primary_key => nil, :name => "fkebf8af3a474008c6"
2481
+ # #
2482
+ # # add_foreign_key "identificadororgao", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "academico_identificadoror_fk"
2483
+ # #
2484
+ # # add_foreign_key "insc_alunoturmaauxpo", "alunoturma", :column => "idalunoturma", :primary_key => nil, :name => "academico_alunoturmapo_fk_at"
2485
+ # #
2486
+ # # add_foreign_key "insc_alunoturmaauxpp", "alunoturma", :column => "idalunoturma", :primary_key => nil, :name => "academico_alunoturmapp_fk_at"
2487
+ # #
2488
+ # # add_foreign_key "insc_resumopo", "curso", :column => "idcurso", :primary_key => nil, :name => "fk_inscricao_resumopo_curso"
2489
+ # # add_foreign_key "insc_resumopo", "turma", :column => "idturma", :primary_key => nil, :name => "fk_inscricao_resumopo_turma"
2490
+ # # add_foreign_key "insc_resumopo", "vagaturmacurso", :column => "idvagaturmacurso", :primary_key => nil, :name => "fk_inscricao_resumopo_vtc"
2491
+ # #
2492
+ # # add_foreign_key "insc_resumopp", "curso", :column => "idcurso", :primary_key => nil, :name => "fk_inscricao_resumopp_curso"
2493
+ # # add_foreign_key "insc_resumopp", "turma", :column => "idturma", :primary_key => nil, :name => "fk_inscricao_resumopp_turma"
2494
+ # # add_foreign_key "insc_resumopp", "vagaturmacurso", :column => "idvagaturmacurso", :primary_key => nil, :name => "fk_inscricao_resumopp_vtc"
2495
+ # #
2496
+ # # add_foreign_key "internato", "aluno", :column => "aluno_ididentificador", :primary_key => nil, :name => "fk60253713195f401a"
2497
+ # #
2498
+ # # add_foreign_key "itemcalendario", "cursolocalidade", :column => "idcursolocalidade", :primary_key => nil, :name => "itemcalendario_cursolocal_fk"
2499
+ # #
2500
+ # # add_foreign_key "localidade", "pub_cidade", :column => "cidade_idcidade", :primary_key => nil, :name => "fk51931173263848f"
2501
+ # #
2502
+ # # add_foreign_key "log_boletim", "boletim", :column => "idboletim", :primary_key => nil, :name => "fk_boletim_id"
2503
+ # # add_foreign_key "log_boletim", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "fk_identificador_id"
2504
+ # #
2505
+ # # add_foreign_key "log_disciplina", "caracteristica_disciplina", :column => "idcaracteristicadisciplina", :primary_key => nil, :name => "fk_log_idcaractdisc"
2506
+ # # add_foreign_key "log_disciplina", "coordenacao", :column => "idcoordenacao", :primary_key => nil, :name => "fk_log_idcoordenacao"
2507
+ # # add_foreign_key "log_disciplina", "departamento", :column => "iddepartamento", :primary_key => nil, :name => "fk_log_iddepartamento"
2508
+ # # add_foreign_key "log_disciplina", "grau", :column => "idgrau", :primary_key => nil, :name => "fk_log_idgrau"
2509
+ # # add_foreign_key "log_disciplina", "materia", :column => "idmateria", :primary_key => nil, :name => "fk_log_idmateria"
2510
+ # # add_foreign_key "log_disciplina", "motivodesativacao", :column => "idmotivodesativacao", :primary_key => nil, :name => "fk_log_idmotivodesativacao"
2511
+ # # add_foreign_key "log_disciplina", "pub_identificacao", :column => "ididentcriacao", :primary_key => nil, :name => "fk_log_ididentcriacao"
2512
+ # # add_foreign_key "log_disciplina", "pub_identificacao", :column => "ididentultimaatualizacao", :primary_key => nil, :name => "fk_log_ididentultimaatualiz"
2513
+ # #
2514
+ # # add_foreign_key "log_identificacaounificada", "pub_identificador", :column => "ididentificadorautor", :primary_key => nil, :name => "log_identificacaouni_ident_fk"
2515
+ # #
2516
+ # # add_foreign_key "log_personificacao", "administrador", :column => "id_admin", :primary_key => nil, :name => "fk_admin"
2517
+ # # add_foreign_key "log_personificacao", "pub_identificacao", :column => "id_identificacao_personificada", :primary_key => nil, :name => "fk_personificado"
2518
+ # #
2519
+ # # add_foreign_key "migracaodisciplinas", "pub_identificacao", :column => "ididentcriacao", :primary_key => nil, :name => "fkcd3ab650f8392f17"
2520
+ # # add_foreign_key "migracaodisciplinas", "pub_orgao", :column => "idorgaodestino", :primary_key => nil, :name => "fkcd3ab650ca6f25ee"
2521
+ # # add_foreign_key "migracaodisciplinas", "pub_orgao", :column => "idorgaoorigem", :primary_key => nil, :name => "fkcd3ab6505d0a44dd"
2522
+ # #
2523
+ # # add_foreign_key "planoinscricao", "curso", :column => "idcurso", :primary_key => nil, :name => "fk_curso"
2524
+ # # add_foreign_key "planoinscricao", "localidade", :column => "idlocalidade", :primary_key => nil, :name => "fk_localidade"
2525
+ # #
2526
+ # # add_foreign_key "planovtc", "planoinscricao", :column => "idplanoinscricao", :primary_key => nil, :name => "fk_planoinscricao"
2527
+ # # add_foreign_key "planovtc", "vagaturmacurso", :column => "idvagaturmacurso", :primary_key => nil, :name => "fk_vagaturmacurso"
2528
+ # #
2529
+ # # add_foreign_key "processotransf", "aluno", :column => "aluno_ididentificador", :primary_key => nil, :name => "fk52ba1b75195f401a"
2530
+ # #
2531
+ # # add_foreign_key "professor", "pub_funcionario", :column => "idfuncionario", :primary_key => nil, :name => "fk609fb38663c5faa"
2532
+ # # add_foreign_key "professor", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "fk609fb3845e42816"
2533
+ # #
2534
+ # # add_foreign_key "professorturma", "professor", :column => "idprofessor", :primary_key => nil, :name => "fkc60e70dbc04eaa2"
2535
+ # # add_foreign_key "professorturma", "turma", :column => "idturma", :primary_key => nil, :name => "fkc60e70d474008c6"
2536
+ # #
2537
+ # # add_foreign_key "pub_cidade", "pub_estado", :column => "estado_idestado", :primary_key => nil, :name => "fk78f6025d3ced111"
2538
+ # #
2539
+ # # add_foreign_key "pub_contausuario", "pub_identificacao", :column => "ididentificacao", :primary_key => nil, :name => "publico_contausuario_publ_fk1"
2540
+ # #
2541
+ # # add_foreign_key "pub_estado", "pub_pais", :column => "pais_idpais", :primary_key => nil, :name => "fk7cf3e49f3d552a26"
2542
+ # #
2543
+ # # add_foreign_key "pub_funcionario", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "fka5878e4245e42816"
2544
+ # #
2545
+ # # add_foreign_key "pub_identificacao", "pub_cidade", :column => "enderecocidade_idcidade", :primary_key => nil, :name => "fk42ff2fde876271a6"
2546
+ # # add_foreign_key "pub_identificacao", "pub_estado", :column => "identidadeuf_idestado", :primary_key => nil, :name => "fk42ff2fde9e350e2f"
2547
+ # # add_foreign_key "pub_identificacao", "pub_estado", :column => "naturalidade_idestado", :primary_key => nil, :name => "fk42ff2fdeccec4e59"
2548
+ # # add_foreign_key "pub_identificacao", "pub_pais", :column => "nacionalidade_idpais", :primary_key => nil, :name => "fk42ff2fde4d9a47d"
2549
+ # #
2550
+ # # add_foreign_key "pub_identificador", "pub_identificacao", :column => "identificacao_ididentificacao", :primary_key => nil, :name => "fk42ff35544c3fb65a"
2551
+ # #
2552
+ # # add_foreign_key "pub_identificadorpapel", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "fkcae910b245e42816"
2553
+ # # add_foreign_key "pub_identificadorpapel", "pub_papel", :column => "idpapel", :primary_key => nil, :name => "fkcae910b24b834e00"
2554
+ # #
2555
+ # # add_foreign_key "pub_identificadorrecurso", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "fk24d7be7545e42816"
2556
+ # # add_foreign_key "pub_identificadorrecurso", "pub_recurso", :column => "idrecurso", :primary_key => nil, :name => "fk24d7be7557c7f286"
2557
+ # #
2558
+ # # add_foreign_key "pub_instituicao", "pub_cidade", :column => "idcidade", :primary_key => nil, :name => "publico_instituicao_publi_fk1"
2559
+ # #
2560
+ # # add_foreign_key "pub_mensagem", "pub_identificador", :column => "iddestinatario", :primary_key => nil, :name => "fk60be87248b957110"
2561
+ # # add_foreign_key "pub_mensagem", "pub_identificador", :column => "idremetente", :primary_key => nil, :name => "fk60be8724c8311f0c"
2562
+ # #
2563
+ # # add_foreign_key "pub_orgao", "pub_categoriaorgao", :column => "idcategoria", :primary_key => nil, :name => "fk80731bb93615b2a7"
2564
+ # # add_foreign_key "pub_orgao", "pub_orgao", :column => "idorgao", :primary_key => nil, :name => "publico_orgao_orgpai_fk"
2565
+ # # add_foreign_key "pub_orgao", "pub_orgao", :column => "idorgaopai", :primary_key => nil, :name => "fk80731bb9e3cbe4fe"
2566
+ # # add_foreign_key "pub_orgao", "pub_orgao", :column => "orgaopai", :primary_key => nil, :name => "fk80731bb9c6f122e3"
2567
+ # # add_foreign_key "pub_orgao", "pub_statusorgao", :column => "idstatus", :primary_key => nil, :name => "fk80731bb95249387d"
2568
+ # # add_foreign_key "pub_orgao", "pub_tipoorgao", :column => "idtipo", :primary_key => nil, :name => "fk80731bb9d1c487d"
2569
+ # #
2570
+ # # add_foreign_key "pub_papelrecurso", "pub_papel", :column => "idpapel", :primary_key => nil, :name => "fk8eb0c27c4b834e00"
2571
+ # # add_foreign_key "pub_papelrecurso", "pub_recurso", :column => "idrecurso", :primary_key => nil, :name => "fk8eb0c27c57c7f286"
2572
+ # #
2573
+ # # add_foreign_key "pub_terceirizado", "pub_identificador", :column => "ididentificador", :primary_key => nil, :name => "fk2459692845e42816"
2574
+ # #
2575
+ # # add_foreign_key "pub_tokens", "pub_identificacao", :column => "iduff", :primary_key => nil, :name => "pub_tokens_iduff_fk1"
2576
+ # #
2577
+ # # add_foreign_key "reconhecimentocurso", "curso", :column => "idcurso", :primary_key => nil, :name => "academico_reconhecimentoc_fk1"
2578
+ # #
2579
+ # # add_foreign_key "trancamento", "aluno", :column => "aluno_ididentificador", :primary_key => nil, :name => "fk99796231195f401a"
2580
+ # #
2581
+ # # add_foreign_key "turma", "disciplina", :column => "iddisciplina", :primary_key => nil, :name => "fk1c2180aee27b21b5"
2582
+ # # add_foreign_key "turma", "localidade", :column => "idlocalidade", :primary_key => nil, :name => "fk1c2180aeafde6165"
2583
+ # # add_foreign_key "turma", "turma", :column => "idturmateorica", :primary_key => nil, :name => "fk1c2180ae949ff554"
2584
+ # # add_foreign_key "turma", "turno", :column => "idturno", :primary_key => nil, :name => "fk1c2180ae57478c4d"
2585
+ # #
2586
+ # # add_foreign_key "turnoscurso", "curso", :column => "idcurso", :primary_key => nil, :name => "turnoscurso_curso_fk1"
2587
+ # # add_foreign_key "turnoscurso", "desdobramento", :column => "iddesdobramento", :primary_key => nil, :name => "turnoscurso_desdobramento_fk1"
2588
+ # # add_foreign_key "turnoscurso", "localidade", :column => "idlocalidade", :primary_key => nil, :name => "turnoscurso_localidade_fk1"
2589
+ # # add_foreign_key "turnoscurso", "turno", :column => "idturno", :primary_key => nil, :name => "turnoscurso_turno_fk1"
2590
+ # #
2591
+ # # add_foreign_key "vagaturmacurso", "curso", :column => "idcurso", :primary_key => nil, :name => "fke5d563b34424356b"
2592
+ # # add_foreign_key "vagaturmacurso", "turma", :column => "idturma", :primary_key => nil, :name => "fke5d563b3474008c6"
2593
+ # #
2594
+ # # add_synonym "siad_prod", "iduff_desenv./aad09920_SIAD_PRODREGRESSRDBM", :force => true
2595
+
2596
+ end