Skip to content

Add missing definition of 'created' table as relation from user to asset - #465

Merged
Heliodex merged 1 commit into
mainfrom
created-table
Aug 6, 2026
Merged

Add missing definition of 'created' table as relation from user to asset#465
Heliodex merged 1 commit into
mainfrom
created-table

Conversation

@Heliodex

@Heliodex Heliodex commented Aug 6, 2026

Copy link
Copy Markdown
Member

Closes #464. Fix will be obsoleted by the updated economy service in #454, which moves asset ownership from being handled by the Site with SurrealDB to being handled by the updated Economy service.

@Heliodex Heliodex self-assigned this Aug 6, 2026
Copilot AI lite review requested due to automatic review settings August 6, 2026 18:13
@Heliodex

Heliodex commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

omg copilot r u done yet

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a new SurrealDB relation table to track which users created which assets, including a timestamp for when the relation was created.

Changes:

  • Introduces a created relation table from user to asset
  • Adds an id field and a timestamp field on the new relation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Site/src/lib/server/init.surql
Comment thread Site/src/lib/server/init.surql
@Heliodex
Heliodex merged commit 4ec3cb9 into main Aug 6, 2026
1 check failed
@av7b

av7b commented Aug 7, 2026

Copy link
Copy Markdown

tuff

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

where is the "created" table in init.surql 🤔

3 participants