Updated videos table migration to relax some of the tightness on video serials

This commit is contained in:
Gregory Ballantine 2023-03-07 09:27:40 -05:00
parent 414cabb9f8
commit 9278216b4a

View File

@ -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