new database creation with the draft_flag added to the plans table
new database creation with the draft_flag added to the plans table