Skip to content

Commit

Permalink
Use entity for embedded
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikvdkaaden committed May 29, 2024
1 parent e842d55 commit d3d0079
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/lib/timestamp.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import 'package:floor/floor.dart';
import 'package:intl/intl.dart';

@Embed()
@Entity()
class Timestamp {
@ColumnInfo(name: 'created_at')
final DateTime createdAt;
Expand Down

0 comments on commit d3d0079

Please sign in to comment.