db/migrate/20180101093434_create_projects.rb in dhatu-0.1.25 vs db/migrate/20180101093434_create_projects.rb in dhatu-0.2.0

- old
+ new

@@ -2,13 +2,14 @@ def change create_table :projects do |t| t.string :name, :null => false, limit: 128 t.string :permalink, :null => false, limit: 128 - t.string :meta_description, :null => true, limit: 512 + t.string :short_description, null: true, limit: 512 t.text :description t.string :client, :null => false, limit: 128 + t.references :category t.string :status, :null => false, :default=>"unpublished", :limit=>16 t.boolean :featured, default: false t.integer :priority, default: 1, null: false