If this contraint had been there I would have found a bug in the import_debian Rake task much sooner.
5 lines
135 B
Ruby
5 lines
135 B
Ruby
class MakePackageNameNotNull < ActiveRecord::Migration
|
|
def change
|
|
change_column :packages, :name, :string, null: false
|
|
end
|
|
end
|