laravel-surrealdb icon indicating copy to clipboard operation
laravel-surrealdb copied to clipboard

Feature: Create Schema for migrations

Open leemcd56 opened this issue 1 year ago • 0 comments

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

leemcd56 avatar May 09 '23 22:05 leemcd56