Add highlights

This commit is contained in:
2024-04-05 21:35:39 +11:00
parent d02b74621a
commit 38d5108979
22 changed files with 188 additions and 25 deletions

View File

@@ -0,0 +1,13 @@
# frozen_string_literal: true
ROM::SQL.migration do
change do
create_table :highlights do
primary_key :id
foreign_key :post_id, :posts, null: false
column :text, :text, null: false
index :post_id
end
end
end