diff --git a/database/migrations/2019_02_13_130258_add_amounts_field_to_event_access_codes.php b/database/migrations/2019_02_13_130258_add_amounts_field_to_event_access_codes.php new file mode 100644 index 00000000..b1f07656 --- /dev/null +++ b/database/migrations/2019_02_13_130258_add_amounts_field_to_event_access_codes.php @@ -0,0 +1,32 @@ +unsignedInteger('usage_count')->default(0)->after('code'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('event_access_codes', function (Blueprint $table) { + $table->dropColumn('usage_count'); + }); + } +}