aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/schema.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r--activerecord/test/schema/schema.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index bec4291457..a1932ad16a 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -394,6 +394,10 @@ ActiveRecord::Schema.define do
t.integer :price
end
+ create_table :primary_key_limit, :force => true, :id => false do |t|
+ t.primary_key :id, :limit => 8
+ end
+
create_table :projects, :force => true do |t|
t.string :name
t.string :type