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

13 lines
240 B
Ruby

# frozen_string_literal: true
ROM::SQL.migration do
change do
create_table :movies do
primary_key :id
column :title, :text, null: false
column :year, :integer
column :url, :text, null: false
end
end
end