Added preparing actions for custom build

This commit is contained in:
Alexey Berezhok
2026-04-19 01:20:36 +03:00
parent 0828293f36
commit 8f1e8d4a0b
7 changed files with 364 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
require "sequel"
Sequel.migration do
change do
create_table(:custom_build_script) do
primary_key :id
String :content, text: true
String :filepath, text: true
String :descr, text: true
Datetime :create_at, default: Sequel.lit("CURRENT_TIMESTAMP")
foreign_key :proj_id, :projects, :key => :id
foreign_key :repo_id, :repos, :key => :id
end
end
end