REBOL [ Title: "A Sample Schema" Type: 'schema ] mydb: database [ docs: table [ id: integer! 11 primary increment title: string! 60 editor: :users ; looks up the 'id field in the 'users table text: string! ; uses TEXT type instead of VARCHAR public: logic! ; uses TINYINT(1) - 1 for true, null or 0 for false description: opt string! 255 ; opt skips NOT NULL views: integer! 11 init 0 ] users: table [ id: string! 60 primary ] ]