simple_options 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc2d6873456061a4301ed9416cd0f45194152883
|
4
|
+
data.tar.gz: dff2175b325307568f819602023ff38e06bf3621
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 369f95eda9b4301334958fde5d2abfb0d4b5051868cec114158245ce9fbb026d2a2257d7f7b20986c2e86a65baf51045a2dcaa49090b6ba63a7a157e35fe80e7
|
7
|
+
data.tar.gz: 18c6f1e3f98d99d2074bba976f1acf94ab7f99acbd053cde77c7547f35382a712fa88f12d222765f8c23f924949a2b55e27122a8a988db1161e324aca0ac6321
|
@@ -3,9 +3,9 @@ class CreateOptions < ActiveRecord::Migration
|
|
3
3
|
create_table :options do |t|
|
4
4
|
t.string :name, :null => false
|
5
5
|
t.string :title, :null => false
|
6
|
-
t.string :option_type, :null =>
|
6
|
+
t.string :option_type, :null => true
|
7
7
|
t.text :description, :null => true
|
8
|
-
t.boolean :is_changed, :null =>
|
8
|
+
t.boolean :is_changed, :null => false, :default=>1
|
9
9
|
t.string :category, :null => true
|
10
10
|
t.string :value, :null => true
|
11
11
|
|