package me.rei_m.hyakuninisshu.infrastructure.database;

import com.github.gfx.android.orma.annotation.Column;
import com.github.gfx.android.orma.annotation.PrimaryKey;
import com.github.gfx.android.orma.annotation.Table;

@Table
public class KarutaQuizSchema {

    @PrimaryKey(auto = true)
    public int id;

    @Column
    public int collectKarutaId;

    @Column
    public int answerKarutaId;

    @Column
    public long startedTimeInMills;

    @Column
    public long answeredTimeInMills;
}

@@ -50,16 +50,70 @@
 abase;%0A%0A
+import com.github.gfx.android.orma.SingleAssociation;%0A
 import c
@@ -382,19 +382,96 @@
  public 
+S
 in
-t
+gleAssociation%3CKarutaSchema%3E choiceList;%0A%0A    @Column%0A    public KarutaSchema
  collect
@@ -472,26 +472,24 @@
 ollectKaruta
-Id
 ;%0A%0A    @Colu
@@ -506,26 +506,27 @@
 lic 
-int answerKarutaId
+KarutaSchema answer
 ;%0A%0A 

add KarutaQuizShema