Sha256: fa0e22e76621aa4a9ba9535eca61507238a8ee89c75b10a786071a5d3746bc95
Contents?: true
Size: 1.13 KB
Versions: 5
Compression:
Stored size: 1.13 KB
Contents
# -*- encoding : utf-8 -*- class AddMoreFollowingCards < Cardio::Migration::Core def up Card.create! name: "*follow", codename: "follow", type_code: :setting Card.create! name: "*follow+*right+*default", type_code: :pointer Card.create! name: "*follow+*right+*input", type_code: :pointer, content: "[[radio]]" Card.create! name: "*follow+*right+*help", content: "Get notified about changes", type_code: :phrase Card.create! name: "*followers", codename: "followers" Card.create! name: "*follow fields", codename: "follow_fields", type_code: :setting Card.create! name: "*follow fields+*right+*help", content: "" Card.create! name: "*follow fields+*right+*default", type_code: :pointer Card.create! name: "*all+*follow fields", content: "[[*include]]", type_code: :pointer # follow options Card.create! name: "*always", codename: "always" Card.create! name: "*never", codename: "never" # default follow rule Card.create! name: "*follow defaults", codename: "follow_defaults", type_code: :pointer Card.create! name: "*all+*all+*follow", type_code: :pointer, content: "[[*never]]" end end
Version data entries
5 entries across 5 versions & 1 rubygems