instiki/db/wiki_references.erbsql

9 lines
258 B
Plaintext

CREATE TABLE wiki_references (
id <%= @pk %>,
created_at <%= @datetime %> NOT NULL,
updated_at <%= @datetime %> NOT NULL,
page_id INTEGER NOT NULL,
referenced_name VARCHAR NOT NULL,
link_type CHAR(1) NOT NULL
) <%= create_options %>;