Skip to content

Conversation

@jvcanavarro
Copy link
Member

levi

Copy link
Member

@renan-cunha renan-cunha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think ClassroomModel should be updated with a foreign key of school

try {
bool nullToAbsent = true;
final schoolCompanion = schoolModel.toCompanion(nullToAbsent);
final classPk = await this.database.insertSchool(schoolCompanion);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this parameter should be something like schoolPk

import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';

enum Modality { municipal, estadual, federal, privada }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In doubt if these categories should be spelled in English

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, i just copied from backend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants