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

13 lines
257 B
Ruby

# frozen_string_literal: true
ROM::SQL.migration do
change do
create_table :workouts do
primary_key :id
column :path, :text, null: false
column :distance, :float, null: false
column :published_at, :timestamp
end
end
end