spec/support/migrations.rb in active_metadata-0.7.9 vs spec/support/migrations.rb in active_metadata-0.8.0
- old
+ new
@@ -3,9 +3,12 @@
def self.up
ActiveRecord::Base.connection.create_table :documents, force: true do |t|
t.string :name
t.string :surname
t.boolean :keep_alive
+ t.datetime :date
+ t.decimal :price, precision: 6, scale: 2
+ t.decimal :average, precision: 6, scale: 3
t.timestamps
end
ActiveRecord::Base.connection.create_table :sections, force: true do |t|
t.string :title