mirror of
https://github.com/harness/drone.git
synced 2025-05-31 11:43:15 +00:00
add database scripts for new table template
This commit is contained in:
parent
04ec418c44
commit
d3acd5d823
@ -0,0 +1,10 @@
|
||||
-- name: create-table-template
|
||||
|
||||
CREATE TABLE IF NOT EXISTS template (
|
||||
template_id INTEGER PRIMARY KEY AUTO_INCREMENT
|
||||
,template_name VARCHAR(500)
|
||||
,template_data BLOB
|
||||
,template_created INTEGER
|
||||
,template_updated INTEGER
|
||||
,UNIQUE(template_name)
|
||||
);
|
@ -0,0 +1,9 @@
|
||||
-- name: create-table-template
|
||||
|
||||
CREATE TABLE IF NOT EXISTS template (
|
||||
template_id SERIAL PRIMARY KEY
|
||||
,template_name TEXT UNIQUE
|
||||
,template_data BYTEA
|
||||
,template_created INTEGER
|
||||
,template_updated INTEGER
|
||||
);
|
@ -0,0 +1,9 @@
|
||||
-- name: create-table-template
|
||||
|
||||
CREATE TABLE IF NOT EXISTS template (
|
||||
template_id INTEGER PRIMARY KEY AUTOINCREMENT
|
||||
,template_name TEXT UNIQUE
|
||||
,template_data BLOB
|
||||
,template_created INTEGER
|
||||
,template_updated INTEGER
|
||||
);
|
Loading…
x
Reference in New Issue
Block a user