aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/schema.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/schema.rb')
-rw-r--r--activemodel/test/schema.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/activemodel/test/schema.rb b/activemodel/test/schema.rb
new file mode 100644
index 0000000000..56b824d445
--- /dev/null
+++ b/activemodel/test/schema.rb
@@ -0,0 +1,14 @@
+ActiveRecord::Schema.define do
+ create_table :topics, :force => true do |t|
+ t.string :title
+ t.string :author_name
+ t.text :content
+ t.boolean :approved, :default => true
+ t.string :type
+ end
+
+ create_table :developers, :force => true do |t|
+ t.string :name
+ t.float :salary
+ end
+end