templates/create_metadata.rb in has_metadata-1.2.2 vs templates/create_metadata.rb in has_metadata-1.2.3
- old
+ new
@@ -1,8 +1,8 @@
class CreateMetadata < ActiveRecord::Migration
def self.up
create_table :metadata do |t|
- t.text :data, null: false
+ t.text :data
end
end
def self.down
drop_table :metadatas