Skip to content

Commit

Permalink
Update to comply with new requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
kazimuth authored and cloutiertyler committed Dec 6, 2024
1 parent df966e9 commit 62cbd07
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/sdk-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use anyhow::{Context, Result};
use spacetimedb::{
sats::{i256, u256},
Address, Identity, ReducerContext, SpacetimeType, Table,
Address, Identity, ReducerContext, ScheduleAt, SpacetimeType, Table,
};

#[derive(SpacetimeType)]
Expand Down Expand Up @@ -650,6 +650,11 @@ pub struct ScheduledTable {
#[scheduled_at]
scheduled_at: spacetimedb::ScheduleAt,
text: String,
#[primary_key]
#[auto_inc]
scheduled_id: u64,
#[scheduled_at]
scheduled_at: ScheduleAt,
}

#[spacetimedb::reducer]
Expand Down

0 comments on commit 62cbd07

Please sign in to comment.