mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
13 lines
244 B
Ruby
13 lines
244 B
Ruby
|
class CreateSettings < ActiveRecord::Migration
|
||
|
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
|