Files
adamantium/db/migrate/20230501111415_create_movies.rb
2023-05-02 20:29: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