|
1234567891011121314151617181920212223 |
- <?php
-
- use yii\db\Schema;
- use yii\db\Migration;
-
- class m150318_155827_table_points_vente extends Migration
- {
- public function up()
- {
-
- $this->createTable('point_vente', [
- 'id' => 'pk',
- 'nom' => Schema::TYPE_STRING . ' NOT NULL',
- 'adresse' => Schema::TYPE_TEXT,
- ]);
-
- }
-
- public function down()
- {
- $this->dropTable('point_vente');
- }
- }
|