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

15 lines
352 B
Ruby

# frozen_string_literal: true
ROM::SQL.migration do
change do
create_table :trips do
primary_key :id
column :name, :text, null: false
column :start_date, :date, null: false
column :end_date, :date, null: false
# column :latitude, :float, null: false
# column :longitude, :float, null: false
end
end
end