Changeset 2243 for trunk/LATMOS-Accounts/bin/la-sql-upgrade
- Timestamp:
- 05/21/19 17:30:15 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/bin/la-sql-upgrade
r2085 r2243 45 45 $| = 1; # autoflush 46 46 47 if ($nocommit) { 48 $ENV{LA_NO_COMMIT} = 1; 49 } 50 47 51 my $LA = LATMOS::Accounts->new($config, noacl => 1); 48 my $labase = $LA-> base($base);52 my $labase = $LA->_load_base($base); 49 53 $labase->unexported(1); 50 51 require LATMOS::Accounts::Bases::Sql::upgrade;52 54 53 55 $labase->SchemaUpgrade() or die "An error occur"; 54 56 55 if ($nocommit) {56 $labase->rollback;57 } else {58 $labase->commit;59 }60 57 print "Process terminated successfully\n";
Note: See TracChangeset
for help on using the changeset viewer.