Skip to content

Commit

Permalink
Unused months removal (#1002)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisDuarte1 authored Oct 10, 2023
2 parents 7dd89dd + c470bd8 commit 226465f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions uni/lib/controller/local_storage/app_exams_database.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,6 @@ import 'package:uni/model/entities/exam.dart';
class AppExamsDatabase extends AppDatabase {
AppExamsDatabase()
: super('exams.db', [_createScript], onUpgrade: migrate, version: 5);
Map<String, String> months = {
'Janeiro': '01',
'Fevereiro': '02',
'Março': '03',
'Abril': '04',
'Maio': '05',
'Junho': '06',
'Julho': '07',
'Agosto': '08',
'Setembro': '09',
'Outubro': '10',
'Novembro': '11',
'Dezembro': '12'
};

static const _createScript = '''
CREATE TABLE exams(id TEXT, subject TEXT, begin TEXT, end TEXT,
Expand Down

0 comments on commit 226465f

Please sign in to comment.