Files
adamantium/config/db/migrate/20230102075558_create_bookmarks.rb
2024-08-05 19:00:09 +10:00

14 lines
307 B
Ruby

# frozen_string_literal: true
ROM::SQL.migration do
change do
create_table :bookmarks do
primary_key :id
column :url, :text, null: false
column :name, :text, null: false
column :content, :text, null: false, default: ""
column :published_at, :timestamp
end
end
end