Add editable pages

This commit is contained in:
2023-11-18 11:01:14 +11:00
parent 484259fab1
commit 53434423fd
25 changed files with 369 additions and 5 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