peilaus alkaen
https://github.com/redmine/redmine.git
synced 2024-07-27 20:19:39 +02:00
![Go MAEDA](/assets/img/avatar_default.png)
git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
13 rivejä
289 B
Ruby
13 rivejä
289 B
Ruby
class CreateSettings < ActiveRecord::Migration[4.2]
|
|
def self.up
|
|
create_table :settings, :force => true do |t|
|
|
t.column "name", :string, :limit => 30, :default => "", :null => false
|
|
t.column "value", :text
|
|
end
|
|
end
|
|
|
|
def self.down
|
|
drop_table :settings
|
|
end
|
|
end
|