Files
adamantium/db/migrate/20230102075558_create_bookmarks.rb
2023-01-27 22:55:09 +11: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