mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
## Documentation / Examples - [X] Make sure the linting passes by running `yarn lint`
16 lines
490 B
Plaintext
16 lines
490 B
Plaintext
CREATE MIGRATION m1gcnribdubi476w7daqzhuxvbutfpiqyhhbm2nyfv3xhzc6z757ia
|
|
ONTO initial
|
|
{
|
|
CREATE TYPE default::Post {
|
|
CREATE REQUIRED PROPERTY authorName -> std::str {
|
|
SET default := 'Unknown author';
|
|
};
|
|
CREATE REQUIRED PROPERTY content -> std::str {
|
|
SET default := '';
|
|
};
|
|
CREATE PROPERTY published -> std::datetime;
|
|
CREATE PROPERTY publishedISO := (<std::str>.published);
|
|
CREATE REQUIRED PROPERTY title -> std::str;
|
|
};
|
|
};
|