[Operator] Perbaikan Laman Portal -> Mahasiswa
This commit is contained in:
@@ -118,6 +118,25 @@ trait FakesLegacyDatabase
|
||||
$table->string('nmr_ijazah')->nullable();
|
||||
$table->string('nmr_transkrip')->nullable();
|
||||
$table->date('tgl_transkrip')->nullable();
|
||||
// Biodata (halaman detail mahasiswa); nullable agar insert banyak baris di tes lain tetap jalan.
|
||||
$table->smallInteger('agama')->nullable();
|
||||
$table->smallInteger('kewarganegaraan')->nullable();
|
||||
$table->smallInteger('stat_nikah')->nullable();
|
||||
$table->smallInteger('gol_darah')->nullable();
|
||||
$table->smallInteger('pekerjaan')->nullable();
|
||||
foreach (['no_id' => 20, 'no_kk' => 20, 'nisn' => 10, 'telepon' => 35, 'kodepos' => 5, 'alamat_mhs' => 255, 'asal_alamat' => 255,
|
||||
'namaayah' => 50, 'namaibu' => 50, 'alamat_ortu' => 255, 'nama_wali' => 50, 'alamat_wali' => 50, 'namaslta' => 60,
|
||||
'npsn' => 10, 'jurslta' => 30, 'thnlulusslta' => 4, 'cip_updated' => 20] as $column => $length) {
|
||||
$table->string($column, $length)->nullable();
|
||||
}
|
||||
foreach (['pend_ayah', 'pend_ibu', 'pekerjaan_ortu', 'pekerjaan_ibu', 'penghasilan_ortu', 'tanggungan_ortu', 'pend_wali', 'pekerjaan_wali'] as $column) {
|
||||
$table->smallInteger($column)->nullable();
|
||||
}
|
||||
$table->timestamp('last_updated')->nullable();
|
||||
});
|
||||
$schema->create('t_kewarganegaraan', function (Blueprint $table) {
|
||||
$table->smallInteger('idwarganegara')->primary();
|
||||
$table->string('kewarganegaraan');
|
||||
});
|
||||
$schema->create('t_skripsi', function (Blueprint $table) {
|
||||
$table->integer('idmahasiswa');
|
||||
|
||||
Reference in New Issue
Block a user