spec/schema.rb in multilang-hstore-0.4 vs spec/schema.rb in multilang-hstore-1.0.0.rc1
- old
+ new
@@ -1,19 +1,15 @@
ActiveRecord::Schema.define(:version => 1) do
+
create_table :abstract_posts do |t|
t.hstore :title
t.hstore :body
+ t.string :name
t.integer :void, :default => 1
end
- #create_table :posts do |t|
- # t.text :title
- # t.text :body
- # t.integer :void, :default => 1
- #end
+ create_table :named_posts do |t|
+ t.hstore :title
+ t.string :name
+ end
- #create_table :pages do |t|
- # t.text :title
- # t.text :body
- # t.integer :void, :default => 1
- #end
end