mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 18:27:16 +00:00
18 lines
400 B
PHP
18 lines
400 B
PHP
<?php
|
|
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class Migration_new_stylesheet_default extends CI_Migration {
|
|
|
|
public function up()
|
|
{
|
|
$sql = "UPDATE users SET user_stylesheet = 'darkly'";
|
|
$this->db->query($sql);
|
|
}
|
|
|
|
public function down()
|
|
{
|
|
$sql = "UPDATE users SET user_stylesheet = 'bootstrap.min.css'";
|
|
$this->db->query($sql);
|
|
}
|
|
} |