github.com/segakazzz/buffalo@v0.16.22-0.20210119082501-1f52048d3feb/genny/newapp/core/templates/fixtures/sample.toml.tmpl (about)

     1  [[scenario]]
     2  name = "lots of widgets"
     3  
     4    [[scenario.table]]
     5      name = "widgets"
     6  
     7      [[scenario.table.row]]
     8        id = "<%= uuidNamed("widget") %>"
     9        name = "This is widget #1"
    10        body = "some widget body"
    11        created_at = "<%= now() %>"
    12        updated_at = "<%= now() %>"
    13  
    14      [[scenario.table.row]]
    15        id = "<%= uuid() %>"
    16        name = "This is widget #2"
    17        body = "some widget body"
    18        created_at = "<%= now() %>"
    19        updated_at = "<%= now() %>"
    20  
    21    [[scenario.table]]
    22      name = "users"
    23  
    24      [[scenario.table.row]]
    25        id = "<%= uuid() %>"
    26        name = "Mark Bates"
    27        admin = true
    28        age = 41
    29        widget_id = "<%= uuidNamed("widget") %>"
    30        created_at = "<%= now() %>"
    31        updated_at = "<%= now() %>"
    32