table('post_visit'); $table->addColumn(ColumnFormat::timestamp('create_time')); $table->addColumn(ColumnFormat::timestamp('update_time')); $table->addColumn(ColumnFormat::timestamp('delete_time')); $table->addColumn(ColumnFormat::integer('post_id')); $table->addColumn(ColumnFormat::stringUrl('ip')); $table->addColumn(ColumnFormat::stringNormal('nickname')); $table->addColumn(ColumnFormat::stringNormal('uid')); $table->addColumn(ColumnFormat::stringUrl('avatar')); $table->create(); } }