mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Add Boards
This commit is contained in:
4
app/models/board.rb
Normal file
4
app/models/board.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class Board < ApplicationRecord
|
||||
validates :name, presence: true, uniqueness: true
|
||||
validates :description, length: { in: 0..1024 }, allow_nil: true
|
||||
end
|
||||
Reference in New Issue
Block a user