from server
This commit is contained in:
parent
6d19fdd55e
commit
bd0bdad6f4
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?php namespace TPS\Birzha\Updates;
|
||||||
|
|
||||||
|
use Schema;
|
||||||
|
use October\Rain\Database\Updates\Migration;
|
||||||
|
|
||||||
|
class BuilderTableUpdateTpsBirzhaMessages2 extends Migration
|
||||||
|
{
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::table('tps_birzha_messages', function($table)
|
||||||
|
{
|
||||||
|
$table->integer('chatroom_id');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::table('tps_birzha_messages', function($table)
|
||||||
|
{
|
||||||
|
$table->dropColumn('chatroom_id');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -389,3 +389,6 @@
|
||||||
1.0.136:
|
1.0.136:
|
||||||
- 'Created table tps_birzha_messages'
|
- 'Created table tps_birzha_messages'
|
||||||
- builder_table_create_tps_birzha_messages_2.php
|
- builder_table_create_tps_birzha_messages_2.php
|
||||||
|
1.0.137:
|
||||||
|
- 'Updated table tps_birzha_messages'
|
||||||
|
- builder_table_update_tps_birzha_messages_2.php
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue