aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/RUNNING_UNIT_TESTS.rdoc
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2015-05-03 20:49:45 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-01-13 22:03:56 +0900
commit5fd30ac52d9f8fcdba98b92cdb82868f6686596c (patch)
tree9903a3d3f2be13dc57a9607fffa16315767e75e5 /activerecord/RUNNING_UNIT_TESTS.rdoc
parentf5ab4055b909e7b325304c5a7e414c28bbe441b7 (diff)
downloadrails-5fd30ac52d9f8fcdba98b92cdb82868f6686596c.tar.gz
rails-5fd30ac52d9f8fcdba98b92cdb82868f6686596c.tar.bz2
rails-5fd30ac52d9f8fcdba98b92cdb82868f6686596c.zip
Add expression support on the schema default
Example: create_table :posts do |t| t.datetime :published_at, default: -> { 'NOW()' } end
Diffstat (limited to 'activerecord/RUNNING_UNIT_TESTS.rdoc')
0 files changed, 0 insertions, 0 deletions