Files
adamantium/db/migrate/20230424120318_create_workouts.rb
2023-04-25 15:56:41 +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