aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
authorYosuke Kabuto <bluewhale1982@gmail.com>2016-09-11 15:29:00 +0900
committerYosuke Kabuto <bluewhale1982@gmail.com>2016-09-12 08:52:02 +0900
commit6009107caf9b0b570519b17aa0745fdb5a8c3b1f (patch)
tree724e769a1952f1ded464cd9bc35f9ab6859a1697 /activerecord/test/schema/schema.rb
parentac122514261dff69e1de6f04277681215c3330be (diff)
downloadrails-6009107caf9b0b570519b17aa0745fdb5a8c3b1f.tar.gz
rails-6009107caf9b0b570519b17aa0745fdb5a8c3b1f.tar.bz2
rails-6009107caf9b0b570519b17aa0745fdb5a8c3b1f.zip
Add tests for ActiveRecord::Enum#enum when suffix specified
Make name of attribute medium instead of normal
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 9997ddee77..a4756ec75a 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -98,6 +98,7 @@ ActiveRecord::Schema.define do
t.column :author_visibility, :integer, default: 0
t.column :illustrator_visibility, :integer, default: 0
t.column :font_size, :integer, default: 0
+ t.column :difficulty, :integer, default: 0
t.column :cover, :string, default: "hard"
end