Skip to content

Conversation

@ohsayan
Copy link
Member

@ohsayan ohsayan commented Aug 5, 2024

Before:

CREATE MODEL myspace.mymodel(
    username: string,
    password: string,
    followers: list { type: uint64 }
)
ALTER MODEL myspace.mymodel ADD following { type: list { type: uint64 } }

After:

CREATE MODEL myspace.mymodel(username: string, password: string, followers: [uint64])
ALTER MODEL myspace.mymodel ADD following { type: [uint64] }

Do note that this change is fully backwards compatible as we will continue to support the advanced type definition syntax.


✔️ By submitting this pull request, I agree to the CLA at: https://cla.skytable.io/skytable/skytable

@ohsayan ohsayan added D-server Related to the server D-BlueQL labels Aug 5, 2024
@ohsayan
Copy link
Member Author

ohsayan commented Aug 5, 2024

@glydr r+

Copy link
Collaborator

@glydr glydr left a comment

Choose a reason for hiding this comment

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

📌 PR #365 has been approved by @ohsayan

@glydr glydr merged commit e3e5fd4 into next Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

D-BlueQL D-server Related to the server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants