Move DB dir

This commit is contained in:
2024-08-05 19:00:09 +10:00
parent 7e9121f9f9
commit 2e0ddcc888
46 changed files with 235 additions and 6 deletions

View File

@@ -0,0 +1,15 @@
# frozen_string_literal: true
ROM::SQL.migration do
change do
create_table :pages do
primary_key :id
column :name, :text, null: false
column :content, :text, null: false
column :slug, :text, null: false
column :published_at, :date
index :slug, unique: true
end
end
end