mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
15 lines
279 B
Ruby
15 lines
279 B
Ruby
# frozen_string_literal:true
|
|
|
|
class CreateSettings < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :settings do |t|
|
|
t.string :name, null: false
|
|
t.text :value
|
|
|
|
t.timestamps null: false
|
|
end
|
|
|
|
add_index :settings, :name, unique: true
|
|
end
|
|
end
|