From 9278216b4a2320582957b1d513e983ffb6922fab Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Tue, 7 Mar 2023 09:27:40 -0500 Subject: [PATCH] Updated videos table migration to relax some of the tightness on video serials --- db/migrations/0002_add_videos_table.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrations/0002_add_videos_table.rb b/db/migrations/0002_add_videos_table.rb index 460f2bd..f53fd25 100644 --- a/db/migrations/0002_add_videos_table.rb +++ b/db/migrations/0002_add_videos_table.rb @@ -5,7 +5,7 @@ Sequel.migration do primary_key :id String :name, null: false String :description - Integer :serial, null: false, unique: true + String :serial, null: false, default: 'wxyz' DateTime :created_at, default: Sequel::CURRENT_TIMESTAMP DateTime :updated_at, default: Sequel::CURRENT_TIMESTAMP end