Refactored rules to rulesbehavior and fixed some typos
Set unsigned on relation attributes
Use Laravel polymorphic relation for revisions
Added local configuration for databases at ignore file