Sha256: 31c694385b90317929bb706f57f8e83875deb72557c83641b1ebb7d5c29d2047
Contents?: true
Size: 1.16 KB
Versions: 12
Compression:
Stored size: 1.16 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
12 entries across 12 versions & 1 rubygems