Files
project-work/worker-toolkit-stocks-in-the-future/repo/db/migrate/20240206214618_create_years.rb
Eric Bell 2854619bc9 chore: init commit
in worker.../repo/GITFOLDER.zip is the .git folder.
2026-08-11 14:44:09 -04:00

12 lines
196 B
Ruby

class CreateYears < ActiveRecord::Migration[7.1]
def change
create_table :years do |t|
t.integer :year
t.timestamps
end
add_index :years, :year, unique: true
end
end