laravel-surrealdb
laravel-surrealdb copied to clipboard
Feature: Create Schema for migrations
Documentation
Use the SurrealDB DEFINE TABLE
statement to build tables during migrations.
Link to documentation: https://surrealdb.com/docs/surrealql/statements/define/table
- Use
DEFINE FIELD
to create new fields - Use
DEFINE INDEX
to create new indexes - Use
REMOVE FIELD
to delete any fields - Use
REMOVE INDEX
to delete any indexes - Use
REMOVE TABLE
to drop the table