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,14 @@
# frozen_string_literal: true
ROM::SQL.migration do
change do
create_table :reactions do
primary_key :id
foreign_key :post_id, :posts, null: false
column :visitor_identifier, :text, null: false
index :post_id
unique [:post_id, :visitor_identifier]
end
end
end