Adds a :created_at timestamp to Contributor model.

This commit is contained in:
Mark Rickert
2015-04-23 23:13:49 -04:00
parent efe1287f45
commit 993c7812a6
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,4 @@
class Contributer < CDQManagedObject
scope :all, sort_by(:name)
scope :starts_with_s, where(:name).begins_with('s').sort_by(:name)
def cell

View File

@@ -1,5 +1,7 @@
schema "0001 initial" do
entity "Contributer" do
string :name, optional: false
datetime :created_at
end
end